inmem

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvideInMem

func ProvideInMem() store.S

Types

type InMem

type InMem struct {
	// contains filtered or unexported fields
}

func (*InMem) Delete

func (i *InMem) Delete(key model.Key) (store.OwnableItem, error)

func (*InMem) Get

func (i *InMem) Get(key model.Key) (store.OwnableItem, error)

func (*InMem) GetAll

func (i *InMem) GetAll(bucket string) (map[string]store.OwnableItem, error)

func (*InMem) Push

func (i *InMem) Push(key model.Key, item store.OwnableItem) error

Jump to

Keyboard shortcuts

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