ds

package
v1.1.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DataTypeMap = map[DataType]string{
	None:   "none",
	String: "string",
	List:   "list",
	Hash:   "hash",
	Set:    "set",
	ZSet:   "zset",
}

Functions

This section is empty.

Types

type DataStruct

type DataStruct interface {
	MarshalBinary() ([]byte, error)
	UnmarshalBinary([]byte) error
	Lock()
	Unlock()
	RLock()
	RUnlock()
	GetType() DataType
}

type DataType added in v0.1.7

type DataType uint8
const (
	None DataType = iota
	String
	List
	Hash
	Set
	ZSet
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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