Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulClient ¶
type ConsulClient struct { ServiceName string ServiceId string // contains filtered or unexported fields }
func NewConsulClient ¶
func NewConsulClient(serviceName string) *ConsulClient
func (*ConsulClient) DeregisterService ¶
func (client *ConsulClient) DeregisterService() error
func (*ConsulClient) LookUpService ¶
func (client *ConsulClient) LookUpService(serviceId string) (*Service, error)
func (*ConsulClient) RegisterService ¶
func (client *ConsulClient) RegisterService() error
Click to show internal directories.
Click to hide internal directories.