Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category int
Category is an enum type for representing the bookkeeping of different type
type Provider ¶
type Provider interface { // GetDBHandle returns a db handle that can be used for maintaining the bookkeeping of a given category GetDBHandle(ledgerID string, cat Category) *leveldbhelper.DBHandle // Close closes the BookkeeperProvider Close() }
Provider provides handle to different bookkeepers for the given ledger
func NewProvider ¶
NewProvider instantiates a new provider
Click to show internal directories.
Click to hide internal directories.