etcd

package
v0.0.0-...-750a8a5 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package etcd @Description TODO @Author jiangyang @Created 2021/5/4 12:23 下午

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Conn

func Conn() *clientv3.Client

func Init

func Init(cfg Config)

Types

type Config

type Config struct {
	Endpoints   []string `json:"endpoints" yaml:"endpoints"`
	DialTimeOut int64    `json:"dial_time_out" yaml:"dial_time_out" mapstructure:"dial_time_out"`
}

Jump to

Keyboard shortcuts

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