Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulClient ¶
type ConsulClient struct { Servers []string // Servers is an array of server:port group TTL time.Duration DeregisterCriticalService bool Service *api.AgentServiceRegistration ServiceCheck func() error // check service health // contains filtered or unexported fields }
ConsulClient is a tool for operating with consul server.
Click to show internal directories.
Click to hide internal directories.