cui

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ViewInfo   = "info"
	ViewKeys   = "keys"
	ViewData   = "data"
	ViewCond   = "cond"
	ViewOption = "option"
	ViewStatus = "status"
	ViewSelect = "select"
	ViewMenu   = "menu"
)
View Source
const VERSION = "v0.2.0"

Variables

View Source
var (

	// The default redis query condition
	Query string
)

Functions

func InitRedisClient added in v0.2.0

func InitRedisClient(c *redis.Client)

func MapKeys

func MapKeys(m map[string]string) (keys []string)

func New

func New()

func StringLen

func StringLen(s string) int

func StringRaw

func StringRaw(s string) string

Types

type Entry

type Entry struct {
	Key  string
	TTL  float64
	Type string
	Size int
	Data interface{}
}

Jump to

Keyboard shortcuts

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