Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YuriyNasretdinov/distribkv
/ types & classes
Types & classes
7 in github.com/YuriyNasretdinov/distribkv
⨍
Functions
43
◇
Types & classes
7
Struct
Config
Config describes the sharding config.
config/config.go:19
Struct
Database
Database is an open bolt database.
db/db.go:15
Struct
NextKeyValue
NextKeyValue contains the response for GetNextKeyForReplication.
replication/replication.go:17
Struct
Server
Server contains HTTP method handlers to be used for the database.
web/web.go:15
Struct
Shard
Shard describes a shard that holds the appropriate set of keys. Each shard has unique set of keys.
config/config.go:12
Struct
Shards
Shards represents an easier-to-use representation of the sharding config: the shards count, current index and the addresses of all other shards too.
config/config.go:35
Struct
client
replication/replication.go:23