Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
func Apply(proposal *peer.Proposal, input *peer.ChaincodeInput, decorators ...Decorator) *peer.ChaincodeInput
Apply decorators in the order provided
Types ¶
type Decorator ¶
type Decorator interface {
// Decorate decorates a chaincode input by changing it
Decorate(proposal *peer.Proposal, input *peer.ChaincodeInput) *peer.ChaincodeInput
}
Decorator decorates a chaincode input
Source Files
¶
- decoration.go
Click to show internal directories.
Click to hide internal directories.