parser

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Overview

Package parser is interface for parser

Index

Constants

View Source
const (
	// StringType is redis string
	StringType = model.StringType
	// ListType is redis list
	ListType = model.ListType
	// SetType is redis set
	SetType = model.SetType
	// HashType is redis hash
	HashType = model.HashType
	// ZSetType is redis sorted set
	ZSetType = model.ZSetType
	// AuxType is redis metadata key-value pair
	AuxType = model.AuxType
	// DBSizeType is for RDB_OPCODE_RESIZEDB
	DBSizeType = model.DBSizeType
	// StreamType is for redis stream
	StreamType = model.StreamType
)

Variables

View Source
var (
	// NewDecoder creates a new RDB decoder
	NewDecoder = core.NewDecoder
)

Functions

This section is empty.

Types

type AuxObject added in v1.0.2

type AuxObject = model.AuxObject

AuxObject stores redis metadata

type DBSizeObject added in v1.0.2

type DBSizeObject = model.DBSizeObject

DBSizeObject stores db size metadata

type HashObject

type HashObject = model.HashObject

HashObject stores a hash object

type ListObject

type ListObject = model.ListObject

ListObject stores a list object

type RedisObject

type RedisObject = model.RedisObject

RedisObject is interface for a redis object

type SetObject

type SetObject = model.SetObject

SetObject stores a set object

type StreamObject added in v1.0.15

type StreamObject = model.StreamObject

StreamObject stores a redis stream object

type StringObject

type StringObject = model.StringObject

StringObject stores a string object

type ZSetObject

type ZSetObject = model.ZSetObject

ZSetObject stores a sorted set object

Jump to

Keyboard shortcuts

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