session

package
v0.0.0-...-9d214e5 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager[T any] interface {
	Put(ctx context.Context, expires time.Time, obj T) (string, error)

	Get(ctx context.Context, key string) (T, bool, time.Duration, error)

	Invalidate(ctx context.Context, key string) (bool, error)
}

func NewManager

func NewManager[T any](ctx context.Context, t Type, client cache.Object[arangodb.Collection]) Manager[T]

type Type

type Type string

Jump to

Keyboard shortcuts

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