engine

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL