Help us shape the future of Go! Take the 2026 Go Developer Survey

backend

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MPL-2.0 Imports: 1 Imported by: 4

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