Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PrefixChannels map[string]chan bool
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) Reset ¶ added in v0.1.11
func (mock *MockConsul) Reset()
func (*MockConsul) Start ¶
func (mock *MockConsul) Start() *httptest.Server
Click to show internal directories.
Click to hide internal directories.