persistence

package
v0.0.0-...-1014ae9 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONValue

type JSONValue []byte

JSONValue holds a json representation of a struct

type Storage

type Storage interface {
	Save(key int64, value JSONValue) (int64, error)

	// Get JSON values for keys
	Get(keys []int64) ([]JSONValue, error)

	Clear()
}

Storage backend to be used by the persistence layer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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