memory

package
v1.3.13 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InMemoryStatePersistence

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

func NewStatePersistence

func NewStatePersistence(metricFactory metric.Factory) *InMemoryStatePersistence

func (*InMemoryStatePersistence) Dump

func (sp *InMemoryStatePersistence) Dump() string

func (*InMemoryStatePersistence) Read

func (sp *InMemoryStatePersistence) Read(contract primitives.ContractName, key string) ([]byte, bool, error)

func (*InMemoryStatePersistence) Write

Jump to

Keyboard shortcuts

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