Discover Packages
github.com/yxuco/hlf-contrib/fabric/activity/getbycompositekey
package
module
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Jan 14, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
New creates a new Activity
Activity is a stub for executing Hyperledger Fabric put operations
Eval implements activity.Activity.Eval
Metadata implements activity.Activity.Metadata
type Input struct {
KeyName string `md:"keyName,required"`
Attributes map[string ]interface{} `md:"attributes"`
PageSize int32 `md:"pageSize"`
Start string `md:"start"`
PrivateCollection string `md:"privateCollection"`
}
Input of the activity
FromMap sets activity input values from a map
ToMap converts activity input to a map
type Output struct {
Code int `md:"code"`
Message string `md:"message"`
Bookmark string `md:"bookmark"`
Count int `md:"count"`
Result []interface{} `md:"result"`
}
Output of the activity
FromMap sets activity output values from a map
ToMap converts activity output to a map
Source Files
¶
Click to show internal directories.
Click to hide internal directories.