views

package
v0.0.0-...-26deaa0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 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 KeyInfo

type KeyInfo struct {
	TTL     int64
	KeyName string
	KeyType KeyType
}

type KeyType

type KeyType uint8
const (
	STRING KeyType = 1
	LIST   KeyType = 2
	SET    KeyType = 3
	ZSET   KeyType = 4
	HASH   KeyType = 5
)

type RedisServer

type RedisServer struct {
	Addr string
	Port string
	DB   string
	Conn core.RedisClient
}

type TUI

type TUI struct {
	RedisServer RedisServer
	KeyInfo     KeyInfo
	TUIData     TUIData
	// contains filtered or unexported fields
}

func (*TUI) StartTUI

func (t *TUI) StartTUI()

type TUIData

type TUIData struct {
	CmdHistory  []string
	KeyValue    string
	KeyHexValue string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳