Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulDiscovery ¶
type ConsulDiscovery struct {
// contains filtered or unexported fields
}
func NewConsulDiscoveryService ¶
func NewConsulDiscoveryService(client *consul.ConsulDiscovery, logger *zap.Logger) *ConsulDiscovery
func (*ConsulDiscovery) AddHandler ¶
func (d *ConsulDiscovery) AddHandler(f HandlerFunc)
func (*ConsulDiscovery) Start ¶
func (d *ConsulDiscovery) Start(name string)
func (*ConsulDiscovery) Stop ¶
func (d *ConsulDiscovery) Stop()
type HandlerFunc ¶
Click to show internal directories.
Click to hide internal directories.