dict

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dict

type Dict interface {
	Get(key string) (interface{}, bool)
	Set(key string, value interface{})
	Del(key string) bool
	// RandKeys get count rand keys, may return keys repeat!
	RandKeys(count int) []string
	Len() int
	Flush()
}

func NewDict

func NewDict(shardCnt int) Dict

NewDict return a dict

Jump to

Keyboard shortcuts

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