Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultInterval = "10s"
DefaultInterval time to perform health checks for services
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulAdapter ¶
type ConsulAdapter struct {
// contains filtered or unexported fields
}
ConsulAdapter implements consulapi client interface
func (*ConsulAdapter) Deregister ¶
func (r *ConsulAdapter) Deregister(service *bridge.Service) error
Deregister will deregister ConsulAdapter's interface from RegistryAdapter
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.