storage

package
v0.0.0-...-8cea40f Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Query

func Query(key []byte) []byte

查询某个key对应的值,若不存在则返回nil

func Store

func Store(key []byte, val []byte)

将一个key和对应的值保存到本地KV存储中,若此key存在则改变此key;若key不存在则新建一个key并保存相应的值

Types

This section is empty.

Jump to

Keyboard shortcuts

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