Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultInterval = "10s"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulAdapter ¶
type ConsulAdapter struct {
// contains filtered or unexported fields
}
func (*ConsulAdapter) Deregister ¶
func (r *ConsulAdapter) Deregister(service *bridge.Service) error
func (*ConsulAdapter) Ping ¶
func (r *ConsulAdapter) Ping() error
Ping will try to connect to consul by attempting to retrieve the current leader.
Click to show internal directories.
Click to hide internal directories.