memory

package
v2.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 2, 2017 License: Apache-2.0 Imports: 5 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(logger logrus.FieldLogger) 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(logger logrus.FieldLogger) (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