store

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvalidTypeError

type InvalidTypeError struct {
	// contains filtered or unexported fields
}

func (InvalidTypeError) Error

func (i InvalidTypeError) Error() string

type RedisStore added in v0.2.2

type RedisStore struct {
	// contains filtered or unexported fields
}

func NewRedisStore

func NewRedisStore(rdb *redis.Client) *RedisStore

func (*RedisStore) GetKey added in v0.2.2

func (r *RedisStore) GetKey(ctx context.Context, key string, v any) error

func (*RedisStore) SetKey added in v0.2.2

func (r *RedisStore) SetKey(ctx context.Context, key string, v any) error

type Store

type Store interface {
	GetKey(ctx context.Context, key string, v any) error
	SetKey(ctx context.Context, key string, v any) error
}

Store : Provides a storage interface for segmenter key value store

Jump to

Keyboard shortcuts

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