consul

package
v0.0.0-...-d8adf2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2015 License: MIT Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL