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
按提供的顺序应用装饰
Types ¶
type Decorator ¶
type Decorator interface { //修饰通过更改链码输入来修饰它 Decorate(proposal *peer.Proposal, input *peer.ChaincodeInput) *peer.ChaincodeInput }
decorator修饰链码输入
Click to show internal directories.
Click to hide internal directories.