etcd

package
v0.0.0-...-8c0e806 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Close = make(chan struct{})
View Source
var EtcdClient *clientv3.Client

Functions

func Delete

func Delete(k string) error

func Get

func Get(k string) (string, error)

func NewClient

func NewClient(etcdEndpoint, etcdUsername, etcdPassword, etcdCACertB64 string) (*clientv3.Client, error)

func Put

func Put(k, v string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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