ledger

package
v0.0.0-...-aeb4a1d Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(stub cached_stub.CachedStubInterface, logLevel ...shim.LoggingLevel) ([]byte, error)

Init sets up the ledger package

Types

type LedgerDatastoreImpl

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

Shell of cloudant impl. To be impl in different MR

func (LedgerDatastoreImpl) ComputeHash

func (ds LedgerDatastoreImpl) ComputeHash(stub cached_stub.CachedStubInterface, encryptedData []byte) string

func (LedgerDatastoreImpl) Delete

func (LedgerDatastoreImpl) Get

func (LedgerDatastoreImpl) GetDatastoreConnection

func (ds LedgerDatastoreImpl) GetDatastoreConnection() datastore.DatastoreConnection

func (LedgerDatastoreImpl) Instantiate

func (LedgerDatastoreImpl) IsReady

func (ds LedgerDatastoreImpl) IsReady() bool

func (LedgerDatastoreImpl) Put

func (ds LedgerDatastoreImpl) Put(stub cached_stub.CachedStubInterface, encryptedData []byte) (string, error)

Jump to

Keyboard shortcuts

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