storage

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlgoStorage

type AlgoStorage struct {
	Storage
}

func New

func New(ctx context.Context, cfg *config.Config) *AlgoStorage

type Storage

type Storage interface {
	Get(ctx context.Context, req *model.Request) (resp *model.Response, found bool)
	Set(ctx context.Context, resp *model.Response)
	Del(req *model.Request)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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