etcd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2017 License: Apache-2.0 Imports: 16 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 {
	Client         *clientv3.Client
	GetResponse    *clientv3.GetResponse
	DeleteResponse *clientv3.DeleteResponse
	TxnResponse    *clientv3.TxnResponse
}

func (*Client) Add

func (c *Client) Add(data *pb.Rule, override bool) error

func (*Client) Delete

func (c *Client) Delete(key string) error

func (*Client) Get

func (c *Client) Get(key string) (*pb.Rule, error)

func (*Client) GetAll

func (c *Client) GetAll(limit int64) (*pb.RulesList, error)

func (*Client) New

func (c *Client) New()

Jump to

Keyboard shortcuts

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