package consul
import "github.com/edgexfoundry/go-mod-registry/internal/pkg/consul"
Index ¶
Functions ¶
func NewConsulClient ¶
Create new Consul Client. Service details are optional, not needed just for configuration, but required if registering
Types ¶
type MockConsul ¶
type MockConsul struct {
// contains filtered or unexported fields
}
func NewMockConsul ¶
func NewMockConsul() *MockConsul
func (*MockConsul) Start ¶
func (mock *MockConsul) Start() *httptest.Server
Source Files ¶
- Version
- v0.1.27 (latest)
- Published
- Dec 11, 2020
- Platform
- linux/amd64
- Imports
- 11 packages
- Last checked
- 4 days ago –
Tools for package owners.