etcdpkg

package
v0.3.18 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(config *clientv3.Config) (*clientv3.Client, error)

NewClient ...

func NewEtcdClient

func NewEtcdClient(conf *Config) (*clientv3.Client, error)

Types

type Config added in v0.2.19

type Config struct {
	Endpoints          []string
	Username           string
	Password           string
	DialTimeout        *durationpb.Duration
	CaCert             []byte
	InsecureSkipVerify bool
}

Jump to

Keyboard shortcuts

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