ledger

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

README

Insolar — Ledger

Record storage engine

Go Report Card GoDoc

Documentation

Overview

Package ledger contains interfaces to storage engine and multiple record types

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ledger

type Ledger interface {
	Get(id record.Hash) (bool, record.Record)
	Set(record record.Record) error
}

Ledger is a storage engine interface

func NewLedger

func NewLedger() (Ledger, error)

NewLedger creates new ledger

Directories

Path Synopsis
Package record contains various record type definitions.
Package record contains various record type definitions.

Jump to

Keyboard shortcuts

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