kv

package
v5.0.0-...-90f8c98 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func NewStore

func NewStore() Store

func (Store) As

func (m Store) As(out any) bool

func (Store) Clone

func (c Store) Clone() Store

func (Store) Close

func (m Store) Close(_ context.Context) error

func (Store) Context

func (m Store) Context(ctx context.Context) configx.Values

func (Store) Default

func (m Store) Default(d any) configx.Values

func (Store) Del

func (m Store) Del() error

func (Store) Done

func (m Store) Done() <-chan struct{}

func (Store) Empty

func (c Store) Empty()

func (Store) Flush

func (m Store) Flush()

func (Store) Get

func (m Store) Get() any

func (Store) Key

func (m Store) Key() []string

func (Store) Lock

func (m Store) Lock()

func (Store) Options

func (m Store) Options() *configx.Options

func (Store) Reset

func (m Store) Reset()

func (Store) Save

func (m Store) Save(string, string) error

func (Store) Set

func (m Store) Set(value any) error

func (Store) Unlock

func (m Store) Unlock()

func (Store) Val

func (m Store) Val(path ...string) configx.Values

func (Store) Watch

func (m Store) Watch(opts ...watch.WatchOption) (watch.Receiver, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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