store

package
v0.0.0-...-d781c55 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StoreEngine

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

StoreEngine .

func New

func New() []*StoreEngine

func (*StoreEngine) Insert

func (s *StoreEngine) Insert(key, value string) error

Insert 记录一条数据.

func (*StoreEngine) Query

func (s *StoreEngine) Query(key string) (msgLen int, msg string, err error)

Query查询一条数据.

Jump to

Keyboard shortcuts

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