Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DepositoryEventHandler ¶
type DepositoryEventHandler struct {
// contains filtered or unexported fields
}
func NewDepositoryEventHandler ¶
func NewDepositoryEventHandler(contractClient *contracts.Depository, db *pg.DB) *DepositoryEventHandler
func (*DepositoryEventHandler) HandlePutValue ¶
func (deh *DepositoryEventHandler) HandlePutValue(e *client.ChaincodeEvent) error
HandlePutValue handle events - EventPutValue - EventPutUntrustValue
type EventHandler ¶
type EventHandler func(event *client.ChaincodeEvent) error
Click to show internal directories.
Click to hide internal directories.