etcdv3

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DataSourceEtcd = "etcd"

DataSourceEtcd defines etcd scheme

Variables

This section is empty.

Functions

func NewDataSource

func NewDataSource(client *clientv3.Client, key string, watch bool) xcfg.DataSource

NewDataSource new a etcdDataSource instance. client is the etcd client, it must be useful and should be release by User.

func Register

func Register() (string, func() xcfg.DataSource)

Types

This section is empty.

Jump to

Keyboard shortcuts

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