Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulProxy ¶
type ConsulProxy struct {
// contains filtered or unexported fields
}
func NewConsulProxy ¶
func NewConsulProxy() (*ConsulProxy, error)
func (*ConsulProxy) ServiceDeregister ¶
func (c *ConsulProxy) ServiceDeregister(id string) error
func (*ConsulProxy) ServiceNodes ¶
func (c *ConsulProxy) ServiceNodes(service string) ([]string, error)
func (*ConsulProxy) ServiceRegister ¶
func (c *ConsulProxy) ServiceRegister(id, name, address string, port int, tags []string) error
Click to show internal directories.
Click to hide internal directories.