package
0.0.0-20180419104149-40f2d1d03a96
Repository: https://github.com/tjfoc/hyperledger-fabric-gm.git
Documentation: pkg.go.dev

# Functions

CleanupTestEnv closes the ledgermagmt and removes the store directory.
Close closes all the opened ledgers and any resources held for ledger management.
CreateLedger creates a new ledger with the given genesis block.
GetLedgerIDs returns the ids of the ledgers created.
Initialize initializes ledgermgmt.
InitializeTestEnv initializes ledgermgmt for tests.
OpenLedger returns a ledger for the given id.

# Variables

ErrLedgerAlreadyOpened is thrown by a CreateLedger call if a ledger with the given id is already opened.
ErrLedgerMgmtNotInitialized is thrown when ledger mgmt is used before initializing this.