etcd

package
Version: v0.0.0-...-8ad67eb Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL