MCPcopy Create free account

hub / github.com/dawnzzz/simple-redis / types & classes

Types & classes78 in github.com/dawnzzz/simple-redis

StructAofExpireCtx
AofExpireCtx 记录在执行命令时,是否需要AOF持久化,是否有过期时间
database/engine/router.go:10
StructArgNumErrReply
ArgNumErrReply represents wrong number of arguments for command
redis/protocol/reply/err_reply.go:38
TypeAliasBoolean
lib/sync/atomic/bool.go:5
StructBulkStringReply
redis/protocol/reply/bulk_string_reply.go:5
FuncTypeCheckAliveFunc
func(x interface{}) bool
lib/pool/pool.go:11
StructClient
redis/client/client.go:28
StructCluster
Cluster 用于和集群中的主机进行交互
database/cluster/cluster.go:19
TypeAliasCmdLine
database/rdb/aof/aof.go:26
TypeAliasCmdLine
redis/connection/conn.go:12
StructConcurrentDict
datastruct/dict/concurrent_dict.go:11
StructConfig
lib/pool/pool.go:19
InterfaceConnection
Connection represents a connection with a client
interface/redis/conn.go:4
StructConnection
Connection represents a connection with a client
redis/connection/conn.go:15
FuncTypeConsumer
Consumer traverses list. It receives index and value as params, returns true to continue traversal, while returns false to break
datastruct/list/list.go:8
FuncTypeConsumer
Consumer is used to traversal dict, if it returns false the traversal will be break
datastruct/dict/dict.go:4
StructCoordinator
Coordinator TCC事务协调者
database/cluster/tcc/coordinator.go:13
InterfaceDB
DB is the interface for redis style storage engine
interface/database/db.go:12
StructDB
database/engine/db.go:20
InterfaceDBEngine
DBEngine is the embedding storage engine exposing more methods for complex application
interface/database/db.go:19
StructDataEntity
DataEntity stores data bound to a key, including a string, list, hash, set and so on
interface/database/db.go:31
InterfaceDict
Dict is interface of a key-value data structure
datastruct/dict/dict.go:7
StructElement
datastruct/sortedset/skiplist.go:12
StructEmptyMultiBulkStringReply
redis/protocol/reply/multi_bulk_string_reply.go:48
InterfaceErrorReply
redis/protocol/reply/err_reply.go:5
FuncTypeExecFunc
ExecFunc is interface for command executor args don't include cmd line
database/engine/router.go:17
FuncTypeExpected
Expected check whether given item is equals to expected value
datastruct/list/list.go:4
FuncTypeFactoryFunc
func() (interface{}, error)
lib/pool/pool.go:9
StructFakeConn
redis/connection/fake_conn.go:10
FuncTypeFinalizerFunc
func(x interface{})
lib/pool/pool.go:10
FuncTypeHandleFunc
func(ctx context.Context, conn net.Conn)
interface/tcp/handler.go:8
InterfaceHandler
interface/tcp/handler.go:10
StructHandler
redis/server/handler.go:24
FuncTypeHashFunc
HashFunc defines function to generate hash code
lib/consistenthash/consistenthash.go:10
StructIntReply
IntReply stores an int64 number
redis/protocol/reply/int_reply.go:6
StructLevel
datastruct/sortedset/skiplist.go:17
InterfaceList
datastruct/list/list.go:10
StructLocks
datastruct/lock/lock_map.go:8
StructMap
lib/consistenthash/consistenthash.go:12
StructMultiBulkStringReply
redis/protocol/reply/multi_bulk_string_reply.go:9
StructNoReply
NoReply respond nothing, for commands like subscribe
redis/protocol/reply/status_reply.go:69
StructNullBulkStringReply
redis/protocol/reply/bulk_string_reply.go:28
StructOkReply
* OK REPLY */ OkReply is +OK
redis/protocol/reply/status_reply.go:26
StructPayload
redis/parser/parser.go:14
InterfacePeerGetter
interface/cluster/cluster.go:11
InterfacePeerPicker
interface/cluster/cluster.go:5
StructPersister
database/rdb/aof/aof.go:32
StructPongReply
* PONG REPLY */
redis/protocol/reply/status_reply.go:48
StructPool
Pool 连接池
lib/pool/pool.go:26
FuncTypePreFunc
PreFunc returns related write keys and read keys
database/engine/router.go:20
StructPublish
database/publish/publish.go:8
StructQuickList
QuickList 快速链表,用于实现list
datastruct/list/quick_list.go:12
InterfaceReply
Reply 表示 redis 序列化协议中的一条消息
interface/redis/reply.go:4
StructRewriteCtx
database/rdb/aof/rewrite.go:18
StructScoreBorder
ScoreBorder represents range of a float value, including: <, <=, >, >=, +inf, -inf
datastruct/sortedset/border.go:22
StructServer
Server is a redis-server
database/server.go:24
StructServerProperties
ServerProperties 服务器配置
config/config.go:10
InterfaceSet
datastruct/set/set.go:3
StructSimpleDict
SimpleDict 简单的mapp,非线程安全,用于aof重写建立的临时辅助数据库
datastruct/dict/simple_dict.go:4
StructSimpleSet
datastruct/set/simple_set.go:5
StructSortedSet
datastruct/sortedset/sortedset.go:5
StructStandardErrReply
redis/protocol/reply/err_reply.go:10
StructStatusReply
StatusReply 记录 RESP 中的状态信息(以+开头的信息)
redis/protocol/reply/status_reply.go:4
StructSyntaxErrReply
SyntaxErrReply represents meeting unexpected arguments
redis/protocol/reply/err_reply.go:63
StructTimeWheel
lib/timewheel/timewheel.go:9
StructTransaction
Transaction TCC本地事务
database/cluster/tcc/local_tx.go:27
StructWait
Wait a sync.WaitGroup with timeout
lib/sync/wait/wait.go:9
StructWrongTypeErrReply
WrongTypeErrReply represents operation against a key holding the wrong kind of value
redis/protocol/reply/err_reply.go:87
Structchannel
database/publish/channel.go:22
Structcommand
database/engine/router.go:24
Structgetter
database/cluster/getter.go:13
Structiterator
迭代器,在[-1, ql.Len()]之间移动
datastruct/list/iterator.go:6
Structlocation
lib/timewheel/timewheel.go:23
Structnode
datastruct/sortedset/skiplist.go:22
Structpayload
database/rdb/aof/aof.go:50
Structrequest
redis/client/client.go:44
Structshard
datastruct/dict/concurrent_dict.go:17
StructskipList
跳跃链表
datastruct/sortedset/skiplist.go:29
Structtask
lib/timewheel/timewheel.go:28