Versions in this module Expand all Collapse all v1 v1.0.0 Jul 10, 2024 Changes in this version + type Config struct + Addrs []string + ElectPath string + Password string + TLS struct{ ... } + Username string + type Etcd struct + func New(id string, cfg *Config) (*Etcd, error) + func (e *Etcd) Close() error + func (e *Etcd) Delete(ctx context.Context, key string) error + func (e *Etcd) Exists(ctx context.Context, key string) (bool, error) + func (e *Etcd) Get(ctx context.Context, key string) ([]byte, error) + func (e *Etcd) ID() string + func (e *Etcd) IsReady(ctx context.Context) bool + func (e *Etcd) Leader() string + func (e *Etcd) LeaderChange() <-chan bool + func (e *Etcd) List(ctx context.Context, prefix string) ([]engine.Entry, error) + func (e *Etcd) Set(ctx context.Context, key string, value []byte) error v1.0.0-rc1 Jul 10, 2024