storage

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	// Fetch fetches a value for a given key.
	Fetch(context.Context, []byte) ([]byte, error)
	// Store storess a value for a given key.
	Store(context.Context, []byte, []byte) error
}

Service contains ability to fetch and store key-indexed values.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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