Documentation
¶
Index ¶
Constants ¶
View Source
const (
// STransaction is the name of the handler setting entry for transaction name
STransaction = "name"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
}
Factory for trigger
type HandlerSettings ¶
HandlerSettings for the trigger
type Output ¶
type Output struct {
Parameters map[string]interface{} `md:"parameters"`
Transient map[string]interface{} `md:"transient"`
TxID string `md:"txID"`
TxTime string `md:"txTime"`
ChaincodeStub interface{} `md:"_chaincode_stub"`
}
Output of the trigger
type Reply ¶
type Reply struct {
Status int `md:"status"`
Message string `md:"message"`
Returns interface{} `md:"returns"`
}
Reply from the trigger
type Trigger ¶
type Trigger struct {
// contains filtered or unexported fields
}
Trigger is a stub for the Trigger implementation
func GetTrigger ¶
GetTrigger returns the cached trigger for a specified transaction name; return false in the second value if no trigger is cached for the specified name
func (*Trigger) Initialize ¶
func (t *Trigger) Initialize(ctx trigger.InitContext) error
Initialize implements trigger.Init.Initialize
Click to show internal directories.
Click to hide internal directories.