storage

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package storage contains low level interfaces and common structures for concrete ledger storage engine implementations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LedgerStorer

type LedgerStorer interface {
	GetRecord(*record.Reference) (record.Record, error)
	SetRecord(record.Record) (*record.Reference, error)

	GetClassIndex(*record.Reference) (*index.ClassLifeline, error)
	SetClassIndex(*record.Reference, *index.ClassLifeline) error

	GetObjectIndex(*record.Reference) (*index.ObjectLifeline, error)
	SetObjectIndex(*record.Reference, *index.ObjectLifeline) error
}

LedgerStorer represents append-only Ladger storage.

Directories

Path Synopsis
Package leveldb contains ledger implementation on top of Go's LevelDB engine
Package leveldb contains ledger implementation on top of Go's LevelDB engine

Jump to

Keyboard shortcuts

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