Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceWatch ¶
type ServiceWatch struct {
// contains filtered or unexported fields
}
ServiceWatch runs consul watch for the specified service
func (*ServiceWatch) PublishCLA ¶
func (sw *ServiceWatch) PublishCLA(idx uint64, data interface{})
PublishCLA publishes a cluster load assignment to hub
func (ServiceWatch) Run ¶
func (sw ServiceWatch) Run(errorChannel chan error)
Run consul watch for the specified service
func (ServiceWatch) Stop ¶
func (sw ServiceWatch) Stop()
Click to show internal directories.
Click to hide internal directories.