etcd

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdMod

type EtcdMod struct {
	// contains filtered or unexported fields
}

EtcdMod implements app.Mod for etcd connectivity. Provides IEtcd, IDiscovery, and IElectionFactory via Registry.

func NewEtcdMod

func NewEtcdMod() *EtcdMod

func (*EtcdMod) Init

func (m *EtcdMod) Init(cfg *viper.Viper) error

func (*EtcdMod) Name

func (m *EtcdMod) Name() app.ModName

func (*EtcdMod) Provide

func (m *EtcdMod) Provide(r *app.Registry) error

func (*EtcdMod) Start

func (m *EtcdMod) Start() error

func (*EtcdMod) Stop

func (m *EtcdMod) Stop()

func (*EtcdMod) StopWithContext

func (m *EtcdMod) StopWithContext(ctx context.Context) error

Jump to

Keyboard shortcuts

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