data

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(
	kms key.Manager,
	p2p p2p.Server,
	metaDB metadb.Database,
	localDB localdb.Database,
	client blockchain.TxClient,
	warehouse *warehouse.Manager,
) *Manager

func (*Manager) Batches

func (manager *Manager) Batches() *batch.BatchManager

func (*Manager) Get

func (manager *Manager) Get(dataId types.DataId) (data, error)

func (*Manager) GetBatch

func (manager *Manager) GetBatch(batchInfo *batch.Batch) ([]data, error)

func (*Manager) GetBundle

func (manager *Manager) GetBundle(ctx context.Context, bundleId types.ID) (*bundle, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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