Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulRegistry ¶
type ConsulRegistry struct {
// contains filtered or unexported fields
}
func NewConsulRegistry ¶
func NewConsulRegistry(config *conf.ConsulConfig) (*ConsulRegistry, error)
NewConsulRegistry creates a new Consul registry instance.
func (*ConsulRegistry) Deregister ¶
func (c *ConsulRegistry) Deregister() error
func (*ConsulRegistry) Register ¶
func (c *ConsulRegistry) Register() error
Register registers the service with Consul.
func (*ConsulRegistry) RunServiceCheck ¶
func (c *ConsulRegistry) RunServiceCheck() error
Click to show internal directories.
Click to hide internal directories.