etcd

package
v0.0.0-...-069db6f Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigEtcd

type ConfigEtcd struct {
	Endpoints   string
	DialTimeout int64
}

func StdConfig

func StdConfig() ConfigEtcd

标准配置

func (ConfigEtcd) Build

func (stdConfig ConfigEtcd) Build() (*clientv3.Client, error)

Jump to

Keyboard shortcuts

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