backends

package
v0.0.0-...-7b6b330 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response struct {
	Value []byte
	Error error
}

Response represents a response from a backend store.

type Store

type Store interface {
	Get(ctx context.Context, key string) ([]byte, error)
	Watch(ctx context.Context, key string, stop chan bool) <-chan *Response
	Close() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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