mstore

package
v0.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 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 Store

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

func (*Store) Get

func (s *Store) Get(Key string) (interface{}, error)

func (*Store) Register

func (s *Store) Register(key string, fc WatchFunc)

func (*Store) Set

func (s *Store) Set(k string, v interface{}) error

type WatchFunc

type WatchFunc func(oldV, newV any)

Jump to

Keyboard shortcuts

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