memImp

package
v1.2.19 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package memImp 内存实现运行时存储接口

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeStorageMemImp

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

func NewRuntimeStorageMemImp

func NewRuntimeStorageMemImp() *RuntimeStorageMemImp

func (*RuntimeStorageMemImp) CheckKeyExit

func (r *RuntimeStorageMemImp) CheckKeyExit(key string) (bool, error)

func (*RuntimeStorageMemImp) DelValueByKey

func (r *RuntimeStorageMemImp) DelValueByKey(key string) error

func (*RuntimeStorageMemImp) GetAllKeys

func (r *RuntimeStorageMemImp) GetAllKeys() ([]string, error)

func (*RuntimeStorageMemImp) GetValueByKey

func (r *RuntimeStorageMemImp) GetValueByKey(key string) (any, error)

func (*RuntimeStorageMemImp) GetValueByKeyToBool

func (r *RuntimeStorageMemImp) GetValueByKeyToBool(key string) (bool, error)

func (*RuntimeStorageMemImp) GetValueByKeyToBytes

func (r *RuntimeStorageMemImp) GetValueByKeyToBytes(key string) ([]byte, error)

func (*RuntimeStorageMemImp) GetValueByKeyToInt

func (r *RuntimeStorageMemImp) GetValueByKeyToInt(key string) (int, error)

func (*RuntimeStorageMemImp) GetValueByKeyToString

func (r *RuntimeStorageMemImp) GetValueByKeyToString(key string) (string, error)

func (*RuntimeStorageMemImp) SetValueByKey

func (r *RuntimeStorageMemImp) SetValueByKey(key string, value any) error

Jump to

Keyboard shortcuts

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