ichubetcd

package
v1.0.61 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 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