etcd

package module
v1.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Opt) *pvdr

Types

type Opt

type Opt func(s *pvdr)

func WithCodec

func WithCodec(codec store.Codec) Opt

func WithDelimiter

func WithDelimiter(d string) Opt

func WithDialTimeout

func WithDialTimeout(timeout time.Duration) Opt

func WithEndpoints

func WithEndpoints(peers ...string) Opt

func WithEtcdConfig

func WithEtcdConfig(config clientv3.Config) Opt

func WithKey

func WithKey(key string) Opt

func WithPosition

func WithPosition(prefix string) Opt

func WithPrependPrefix

func WithPrependPrefix(prefix string) Opt

func WithProcessMeta

func WithProcessMeta(b bool) Opt

func WithRecursive

func WithRecursive(b bool) Opt

func WithStorePrefix

func WithStorePrefix(prefix string) Opt

func WithStripPrefix

func WithStripPrefix(prefix string) Opt

func WithWatchEnabled

func WithWatchEnabled(b bool) Opt

Jump to

Keyboard shortcuts

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