storages

package
v0.0.0-...-54dc0dc Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear(table string)

Clear 清空指定表数据

func Contains

func Contains(table, key string) bool

Contains 判断键是否存在

func Get

func Get(table, key string) string

Get 从指定表中获取键值

func GetAll

func GetAll(table string) map[string]string

GetAll 获取所有键值对

func Put

func Put(table, key, value string)

Put 写入键值对,表不存在则自动创建

func Remove

func Remove(table, key string)

Remove 删除指定键

Types

This section is empty.

Jump to

Keyboard shortcuts

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