confdiscovery

package
v0.0.0-...-f657c13 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdConfWatcher

type EtcdConfWatcher struct {
	Key string
	// contains filtered or unexported fields
}

func NewEtcdConfWatcher

func NewEtcdConfWatcher(ctx context.Context, cli *clientv3.Client, key string, isList bool) *EtcdConfWatcher

func (*EtcdConfWatcher) RegisterHandler

func (e *EtcdConfWatcher) RegisterHandler(eventType mvccpb.Event_EventType, handler func(evt *clientv3.Event))

func (*EtcdConfWatcher) Start

func (e *EtcdConfWatcher) Start()

func (*EtcdConfWatcher) Stop

func (e *EtcdConfWatcher) Stop()

Jump to

Keyboard shortcuts

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