etcdClient

package
v0.0.0-...-20dd9da Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdClient

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

func NewEtcdClient

func NewEtcdClient() *EtcdClient

func (*EtcdClient) EtcdDelete

func (cli *EtcdClient) EtcdDelete(ctx context.Context, key string) error

func (*EtcdClient) EtcdGet

func (cli *EtcdClient) EtcdGet(ctx context.Context, key string) (map[string]string, error)

func (*EtcdClient) EtcdPut

func (cli *EtcdClient) EtcdPut(ctx context.Context, key, value string) error

func (*EtcdClient) EtcdPutWithTTL

func (cli *EtcdClient) EtcdPutWithTTL(ctx context.Context, key, value string) error

Jump to

Keyboard shortcuts

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