etcd

package
v0.0.0-...-5fda629 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MulanPSL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

type Recorder interface {
	Certificate() error
	Put(string, string) error
	//Put(string,[]byte) error
	PutWithLease(string, string, clientv3.OpOption) error
	Get(string) ([]byte, error)
	GetWithPrefix(string) (map[string][]byte, error)
	Del(string) error
	DelWithPrefix(string) error
	NewLease() clientv3.Lease
	GetWatcher(string) clientv3.WatchChan
	Close() error
}

func NewMetasRecorder

func NewMetasRecorder(ctx context.Context, points []string, timeOut time.Duration) (Recorder, error)

Jump to

Keyboard shortcuts

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