backend

package
v1.45.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MPL-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	// Set sets the value for the given table and client id.
	Set(ctx context.Context, table, clientID, value string) error
	// Get returns the value for the given table and client id.
	Get(ctx context.Context, table, clientID string) (string, error)
	// Close closes the backend.
	Close(ctx context.Context) error
}

Jump to

Keyboard shortcuts

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