Documentation ¶ Index ¶ Constants type Engine func NewEngine(partitionsNumber uint) *Engine func (e *Engine) Del(_ context.Context, key string) error func (e *Engine) Get(_ context.Context, key string) (string, error) func (e *Engine) Set(_ context.Context, key, value string) error Constants ¶ View Source const ( InMemoryType = "in_memory" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Engine ¶ type Engine struct { // contains filtered or unexported fields } func NewEngine ¶ func NewEngine(partitionsNumber uint) *Engine func (*Engine) Del ¶ func (e *Engine) Del(_ context.Context, key string) error func (*Engine) Get ¶ func (e *Engine) Get(_ context.Context, key string) (string, error) func (*Engine) Set ¶ func (e *Engine) Set(_ context.Context, key, value string) error Source Files ¶ View all Source files const.goengine.goshard.go Click to show internal directories. Click to hide internal directories.