Documentation
¶
Index ¶
- type ConsulKVAdapter
- func (r *ConsulKVAdapter) Deregister(service *bridge.Service) error
- func (r *ConsulKVAdapter) Ping() error
- func (r *ConsulKVAdapter) Refresh(service *bridge.Service) error
- func (r *ConsulKVAdapter) Register(service *bridge.Service) error
- func (r *ConsulKVAdapter) Services() ([]*bridge.Service, error)
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulKVAdapter ¶
type ConsulKVAdapter struct {
// contains filtered or unexported fields
}
func (*ConsulKVAdapter) Deregister ¶
func (r *ConsulKVAdapter) Deregister(service *bridge.Service) error
func (*ConsulKVAdapter) Ping ¶
func (r *ConsulKVAdapter) 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.