Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LevelDB *leveldb.DB
LevelDB is an instance of the LevelDB client for managing persistent cache.
View Source
var Logger *logging.Logger
Logger is an instance of the shared logger tool.
View Source
var MongoDB *mongo.Client
MongoDB is an instance of the MongoDB client for managing persistent cache.
Functions ¶
func BootstrapContract ¶
func BootstrapContract(contract contractapi.ContractInterface)
BootstrapContract performs start sequence of the Smart Contract handler.
func BuildQuery ¶
BuildQuery builds CouchDB query by given parameters:
`selector`: a filter string declaring which documents to return
`fields`: specifying which fields to be returned
`sort`: expression containing how to sort selected records.
func CloseLevelDB ¶
func CloseLevelDB()
func InitLevelDB ¶
func InitLevelDB()
func InitMongoDB ¶
func InitMongoDB()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.