Documentation ¶
Overview ¶
Package database provides several constructs including a simple in-memory database. This should not be used for production, but would be a helpful interim solution for development.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShardDB ¶
type ShardDB struct {
// contains filtered or unexported fields
}
ShardDB defines a service for the sharding system's persistent storage.
func NewShardDB ¶
func NewShardDB(config *ShardDBConfig) (*ShardDB, error)
NewShardDB initializes a shardDB.
type ShardDBConfig ¶
ShardDBConfig specifies configuration options for the db service.
Click to show internal directories.
Click to hide internal directories.