testing

package
v1.8.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemStore

type MemStore struct {
	sync.Mutex
	// contains filtered or unexported fields
}

MemStore is an implementation of CheckpointStore interface which stores checkpoint in memory.

func NewMemStore

func NewMemStore() *MemStore

func (*MemStore) Delete

func (mstore *MemStore) Delete(key string) error

func (*MemStore) List

func (mstore *MemStore) List() ([]string, error)

func (*MemStore) Read

func (mstore *MemStore) Read(key string) ([]byte, error)

func (*MemStore) Write

func (mstore *MemStore) Write(key string, data []byte) error

Jump to

Keyboard shortcuts

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