fabric: github.com/hyperledger/fabric/core/handlers/decoration Index | Files | Directories

package decoration

import "github.com/hyperledger/fabric/core/handlers/decoration"

Index

Package Files

decoration.go

func Apply Uses

func Apply(proposal *peer.Proposal, input *peer.ChaincodeInput,
    decorators ...Decorator) *peer.ChaincodeInput

Apply decorators in the order provided

type Decorator Uses

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

Directories

PathSynopsis
decorator
plugin

Package decoration imports 1 packages (graph) and is imported by 6 packages. Updated 2018-07-16. Refresh now. Tools for package owners.