noop

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KVNoOpStore

type KVNoOpStore struct {
}

KVNoOpStore is a no-op store which does not do any operation but can be safely invoked.

func NewKVNoOpStore

func NewKVNoOpStore() *KVNoOpStore

NewKVNoOpStore returns KVNoOpStore.

func (KVNoOpStore) Close

func (K KVNoOpStore) Close()

func (KVNoOpStore) DeleteKey

func (K KVNoOpStore) DeleteKey(_ context.Context, _ string) error

func (KVNoOpStore) GetAllKeys

func (K KVNoOpStore) GetAllKeys(_ context.Context) ([]string, error)

func (KVNoOpStore) GetStoreName

func (K KVNoOpStore) GetStoreName() string

func (KVNoOpStore) GetValue

func (K KVNoOpStore) GetValue(_ context.Context, _ string) ([]byte, error)

func (KVNoOpStore) PutKV

func (K KVNoOpStore) PutKV(_ context.Context, _ string, _ []byte) error

Jump to

Keyboard shortcuts

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