Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LLHFWT/rache
/ types & classes
Types & classes
58 in github.com/LLHFWT/rache
⨍
Functions
597
◇
Types & classes
58
Struct
AppendEntriesArgs
argument of AppendEntries RPC
raft/raft.pb.go:140
Struct
AppendEntriesReply
reply of AppendEntries RPC
raft/raft.pb.go:220
Struct
ApplyMsg
message for applying command successfully
raft/raft.go:30
Struct
ClearShardArgs
kv/group.pb.go:255
Struct
ClearShardReply
kv/group.pb.go:302
Struct
Config
master的config信息
kv/master.pb.go:492
Struct
ConsistentMap
utils/consistent_hash.go:11
Struct
GetArgs
kv/group.pb.go:145
Struct
GetReply
kv/group.pb.go:200
Struct
GlobalConfig
定义一个全局配置对象
conf/load.go:9
Interface
GroupClient
GroupClient is the client API for Group service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/go
kv/group.pb.go:671
Interface
GroupServer
GroupServer is the server API for Group service.
kv/group.pb.go:727
FuncType
HashFunc
func([]byte) uint32
utils/consistent_hash.go:9
Struct
InstallSnapshotArgs
argument for InstallSnapshot RPC
raft/raft.pb.go:284
Struct
InstallSnapshotReply
reply for InstallSnapshot RPC
raft/raft.pb.go:356
Struct
JoinArgs
please upgrade the proto package
kv/master.pb.go:27
Struct
JoinReply
kv/master.pb.go:82
Struct
KVClient
访问分片数据库的client
kv/kvclient.go:20
Struct
KVData
kv/group.pb.go:562
Struct
KVOp
kv/group.pb.go:451
Struct
KVResult
操作的执行结果
kv/kvserver.go:50
Struct
LeaveArgs
kv/master.pb.go:169
Struct
LeaveReply
kv/master.pb.go:224
Struct
LogEntry
Raft's log entry
raft/raft.pb.go:396
Struct
MClient
Master集群的Client
kv/masterclient.go:11
Struct
Master
是master集群的一个节点,master集群负责管理config以及shard的分配
kv/msterserver.go:20
Interface
MasterClient
MasterClient is the client API for Master service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/
kv/master.pb.go:714
Struct
MasterOp
写入raft的操作
kv/master.pb.go:548
Struct
MasterResult
调用结果
kv/msterserver.go:33
Interface
MasterServer
MasterServer is the server API for Master service.
kv/master.pb.go:770
Struct
MoveArgs
kv/master.pb.go:271
Struct
MoveReply
kv/master.pb.go:334
Struct
Persist
used to persis raft peer's state and snapshot
raft/persist.go:17
Struct
PutAppendArgs
please upgrade the proto package
kv/group.pb.go:27
Struct
PutAppendReply
kv/group.pb.go:98
Struct
QueryArgs
kv/master.pb.go:381
Struct
QueryReply
kv/master.pb.go:436
Struct
Raft
Raft server
raft/raft.go:43
Interface
RaftClient
RaftClient is the client API for Raft service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/goog
raft/raft.pb.go:573
Interface
RaftServer
RaftServer is the server API for Raft service.
raft/raft.pb.go:618
Struct
RequestVoteArgs
please upgrade the proto package argument of RequestVote RPC
raft/raft.pb.go:28
Struct
RequestVoteReply
reply of RequestVote RPC
raft/raft.pb.go:92
Struct
Servers
存放的server的列表,应为IP地址
kv/master.pb.go:130
Struct
ShardKV
每个ShardKV结构代表了一个group中的server,负责管理相应的shards数据
kv/kvserver.go:30
Struct
State
raft/raft.pb.go:443
Struct
TransferShardArgs
kv/group.pb.go:349
Struct
TransferShardReply
kv/group.pb.go:396
Struct
UnimplementedGroupServer
UnimplementedGroupServer can be embedded to have forward compatible implementations.
kv/group.pb.go:739
Struct
UnimplementedMasterServer
UnimplementedMasterServer can be embedded to have forward compatible implementations.
kv/master.pb.go:782
Struct
UnimplementedRaftServer
UnimplementedRaftServer can be embedded to have forward compatible implementations.
raft/raft.pb.go:628
Struct
config
用于测试
raft/raft_test.go:923
Struct
electionTimer
timer for election timeout
raft/raft.go:37
Struct
group
一组shard server
kv/kvserver_test.go:352
Struct
groupClient
kv/group.pb.go:682
Struct
kvConfig
kv/kvserver_test.go:363
Struct
masterClient
kv/master.pb.go:725
Struct
masterConfig
kv/master_test.go:449
Struct
raftClient
raft/raft.pb.go:582