memstore

package
v0.4.15 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2021 License: LGPL-3.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 MemStore

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

func New

func New() *MemStore

func (*MemStore) AddNamespace

func (st *MemStore) AddNamespace(nsName string) error

func (*MemStore) DelBool

func (st *MemStore) DelBool(key string) error

func (*MemStore) DelFloat

func (st *MemStore) DelFloat(key string) error

func (*MemStore) DelInt

func (st *MemStore) DelInt(key string) error

func (*MemStore) DelInt64

func (st *MemStore) DelInt64(key string) error

func (*MemStore) DelString

func (st *MemStore) DelString(key string) error

func (*MemStore) GetBool

func (st *MemStore) GetBool(key string) (bool, bool)

func (*MemStore) GetFloat

func (st *MemStore) GetFloat(key string) (float64, bool)

func (*MemStore) GetInt

func (st *MemStore) GetInt(key string) (int, bool)

func (*MemStore) GetInt64

func (st *MemStore) GetInt64(key string) (int64, bool)

func (*MemStore) GetInt64In

func (st *MemStore) GetInt64In(namespace, key string) (int64, bool)

func (*MemStore) GetString

func (st *MemStore) GetString(key string) (string, bool)

func (*MemStore) GetStringIn

func (st *MemStore) GetStringIn(namespace, key string) (string, bool)

func (*MemStore) ListInt64sIn

func (st *MemStore) ListInt64sIn(namespace, key string) (map[string]int64, error)

func (*MemStore) ListStringsIn

func (st *MemStore) ListStringsIn(namespace, key string) (map[string]string, error)

func (*MemStore) SetBool

func (st *MemStore) SetBool(key string, val bool) error

func (*MemStore) SetFloat

func (st *MemStore) SetFloat(key string, val float64) error

func (*MemStore) SetInt

func (st *MemStore) SetInt(key string, val int) error

func (*MemStore) SetInt64

func (st *MemStore) SetInt64(key string, val int64) error

func (*MemStore) SetInt64In

func (st *MemStore) SetInt64In(namespace, key string, val int64) error

func (*MemStore) SetString

func (st *MemStore) SetString(key string, val string) error

func (*MemStore) SetStringIn

func (st *MemStore) SetStringIn(namespace, key, val string) error

func (*MemStore) TryLock

func (st *MemStore) TryLock(key string) error

func (*MemStore) Unlock

func (st *MemStore) Unlock(key string) error

Jump to

Keyboard shortcuts

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