memory

package
v2.0.0-beta.3+incompat... Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package memory provides an in memory implementation of the storage interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() storage.Storage

New returns an in memory storage.

Types

type Config

type Config struct {
}

Config is an implementation of a storage configuration.

TODO(ericchiang): Actually define a storage config interface and have registration.

func (*Config) Open

func (c *Config) Open() (storage.Storage, error)

Open always returns a new in memory storage.

Jump to

Keyboard shortcuts

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