Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvocationFunc ¶
type InvocationFunc func(shim.ChaincodeStubInterface, []string) pb.Response
InvocationFunc defines the signature of a chaincode invocation function
type Mapping ¶
Mapping is a type for mapping function names to routes
func NewMapping ¶
NewMapping creates and returns a new route mapping
type Route ¶
type Route struct {
FunctionName string
Function InvocationFunc
Conf Conf
}
Route defines properties for invoking a chaincode function
Click to show internal directories.
Click to hide internal directories.