store

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package store handles interaction with the backing store.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider added in v0.1.3

type Provider interface {
	// Put a document into the backing store. The provided data must marshal to
	// JSON.
	Put(key string, data interface{}) error

	// Get a document from the back store. The provided interface must be a
	// pointer to a type able to hold the JSON data.
	Get(key string, i interface{}) error
}

Provider types are able to store and retrieve JSON documents from a backing store.

Directories

Path Synopsis
Package aws handles using AWS as the backing store.
Package aws handles using AWS as the backing store.

Jump to

Keyboard shortcuts

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