etcd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(url string) (*Client, error)

func NewTLSClient

func NewTLSClient(url string, certFile, keyFile, caCertFile string) (*Client, error)

func (*Client) AddMember

func (c *Client) AddMember(peerURL string) (member *client.Member, err error)

func (*Client) ListMembers

func (c *Client) ListMembers() (members []client.Member, err error)

func (*Client) RemoveMember

func (c *Client) RemoveMember(removalID string) (err error)

Jump to

Keyboard shortcuts

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