cache

package
v0.0.0-...-614d85d Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultEtcdAddress = os.Getenv("ETCD_ADDRESS")

Functions

func NewEtcdClient

func NewEtcdClient(address string) (*clientv3.Client, error)

NewEtcdClient simplifies creating a Etcd v3 client

func SilentClose

func SilentClose(c *clientv3.Client)

SilentClose closes the etcd-v3 client without error popup. It's used in defer calls

Types

This section is empty.

Jump to

Keyboard shortcuts

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