etcd

package
v0.0.0-...-fc17aaa Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEtcdConfig

func NewEtcdConfig(cli *clientv3.Client, opts ...Option) (hconf.DataSource, error)

func NewOptions

func NewOptions(opts ...Option) *options

Types

type Option

type Option func(*options)

func WithContext

func WithContext(ctx context.Context) Option

func WithPaths

func WithPaths(path ...string) Option

func WithRoot

func WithRoot(prefix string) Option

Jump to

Keyboard shortcuts

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