noop

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NullWatcher

type NullWatcher struct{}

func (*NullWatcher) Close

func (e *NullWatcher) Close()

func (*NullWatcher) Get

func (e *NullWatcher) Get(ctx context.Context, key string, opts ...watcher.Opt) ([]*watcher.Response, error)

func (*NullWatcher) GetCallback

func (e *NullWatcher) GetCallback(ctx context.Context, key string, fn func(resp *watcher.Response), opts ...watcher.Opt) error

func (*NullWatcher) Init

func (e *NullWatcher) Init()

func (*NullWatcher) Name

func (e *NullWatcher) Name() string

func (*NullWatcher) Watch

func (e *NullWatcher) Watch(ctx context.Context, key string, opts ...watcher.Opt) <-chan *watcher.Response

func (*NullWatcher) WatchCallback

func (e *NullWatcher) WatchCallback(ctx context.Context, key string, fn func(resp *watcher.Response), opts ...watcher.Opt)

Jump to

Keyboard shortcuts

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