ichubetcd

package
v1.4.125 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: MulanPSL-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 EtcdClientV3

type EtcdClientV3 struct {
	EtcdHosts []string

	PreKey string
	// contains filtered or unexported fields
}

func NewEtcdClientV3

func NewEtcdClientV3(etcdHosts []string, pkeys ...string) *EtcdClientV3

func (*EtcdClientV3) Delete

func (client *EtcdClientV3) Delete(key string) error

func (*EtcdClientV3) Get

func (client *EtcdClientV3) Get(key string) (string, error)

func (*EtcdClientV3) Init

func (client *EtcdClientV3) Init() error

func (*EtcdClientV3) Set

func (client *EtcdClientV3) Set(key string, value string)

func (*EtcdClientV3) String

func (client *EtcdClientV3) String() string

Jump to

Keyboard shortcuts

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