Documentation
¶
Index ¶
- func Build() *nwo.Components
- func CreateProxyConfig(testDir, channelName, cryptoConfigPath string, ...) (string, error)
- func FabProxyRunner(fabproxyBinPath, proxyConfig, org, user, channel, ccid string, port uint16) *ginkgomon.Runner
- func Web3TestRunner(proxyAddr1, proxyAddr2 string) *ginkgomon.Runner
- type ChaincodeQueryWithHex
- type Contract
- type JsonRPCArrayResponse
- type JsonRPCError
- type JsonRPCRequest
- type JsonRPCResponse
- type JsonRPCTxReceipt
- type MessageParams
- type TxReceipt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build() *nwo.Components
func CreateProxyConfig ¶
func FabProxyRunner ¶
func Web3TestRunner ¶
Types ¶
type ChaincodeQueryWithHex ¶
func (ChaincodeQueryWithHex) Args ¶
func (c ChaincodeQueryWithHex) Args() []string
func (ChaincodeQueryWithHex) SessionName ¶
func (c ChaincodeQueryWithHex) SessionName() string
type Contract ¶
type Contract struct {
CompiledBytecode string
RuntimeBytecode string
FunctionHashes map[string]string
}
func InvokeContract ¶
func InvokeContract() Contract
func SimpleStorageContract ¶
func SimpleStorageContract() Contract
type JsonRPCArrayResponse ¶
type JsonRPCArrayResponse struct {
JsonRPC string `json:"jsonrpc"`
ID int `json:"id"`
Result []string `json:"result,omitempty"`
Error JsonRPCError `json:"error,omitempty"`
}
type JsonRPCError ¶
type JsonRPCRequest ¶
type JsonRPCResponse ¶
type JsonRPCResponse struct {
JsonRPC string `json:"jsonrpc"`
ID int `json:"id"`
Result string `json:"result,omitempty"`
Error JsonRPCError `json:"error,omitempty"`
}
type JsonRPCTxReceipt ¶
type JsonRPCTxReceipt struct {
JsonRPC string `json:"jsonrpc"`
ID int `json:"id"`
Result TxReceipt `json:"result"`
Error JsonRPCError `json:"error,omitempty"`
}
type MessageParams ¶
Click to show internal directories.
Click to hide internal directories.