etcd

package
v0.0.0-...-e163d20 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Etcd

type Etcd struct {
	Client *clientv3.Client
}

func New

func New(ctx context.Context, config EtcdConfig) (*Etcd, error)

func (*Etcd) Disconnect

func (e *Etcd) Disconnect(ctx context.Context)

type EtcdConfig

type EtcdConfig struct {
	EtcdAddrs    []string
	EtcdUsername string
	EtcdPassword string
	TLS          bool
}

Jump to

Keyboard shortcuts

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