consul

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT 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 New

func New(machines []string) (*Client, error)

func (*Client) Get

func (c *Client) Get(key string) ([]byte, error)

func (*Client) List added in v0.15.1

func (c *Client) List(key string) (backend.KVPairs, error)

func (*Client) Set

func (c *Client) Set(key string, value []byte) error

func (*Client) Watch

func (c *Client) Watch(key string, stop chan bool) <-chan *backend.Response

Jump to

Keyboard shortcuts

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