etcd

package module
v0.0.0-...-7b0e155 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 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 Client

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

func New

func New(config clientv3.Config) *Client

func (*Client) Close

func (c *Client) Close() error

func (*Client) Register

func (c *Client) Register(k, v string) error

func (*Client) UnRegister

func (c *Client) UnRegister(key string, opts ...clientv3.OpOption) error

func (*Client) Watch

func (c *Client) Watch(key string, handler func(event *clientv3.Event), opts ...clientv3.OpOption)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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