etcd

package
v1.10.6 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigCenter = &Etcd{}

Functions

This section is empty.

Types

type Etcd

type Etcd struct {
	clientv3.Config
	Key string
}

func (*Etcd) HandleConfig

func (e *Etcd) HandleConfig(handle func([]byte)) error

TODO: 监听更改

func (*Etcd) Type

func (e *Etcd) Type() string

Jump to

Keyboard shortcuts

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