Versions in this module Expand all Collapse all v1 v1.2.0 Oct 31, 2020 Changes in this version + func New(ctx activity.InitContext) (activity.Activity, error) + type Activity struct + func (a *Activity) Eval(ctx activity.Context) (done bool, err error) + func (a *Activity) Metadata() *activity.Metadata + type Input struct + ChaincodeName string + ChannelID string + Parameters map[string]interface{} + TransactionName string + func (i *Input) FromMap(values map[string]interface{}) error + func (i *Input) ToMap() map[string]interface{} + type Output struct + Code int + Message string + Result interface{} + func (o *Output) FromMap(values map[string]interface{}) error + func (o *Output) ToMap() map[string]interface{} + type Settings struct v1.0.0 Oct 26, 2020