Documentation
¶
Index ¶
- type Checkers
- type Getters
- type InvokeResult
- func (ir *InvokeResult) CheckErrorEquals(errMessage string)
- func (ir *InvokeResult) CheckErrorIsNil()
- func (ir *InvokeResult) CheckResultContains(reference string)
- func (ir *InvokeResult) CheckResultEquals(reference string)
- func (ir *InvokeResult) ErrorCode() int32
- func (ir *InvokeResult) RawResult() ([]byte, []byte)
- func (ir *InvokeResult) SetErrorCode(errorCode int32)
- func (ir *InvokeResult) SetMessage(message []byte)
- func (ir *InvokeResult) SetResponse(response []byte)
- func (ir *InvokeResult) SetTxID(txID string)
- func (ir *InvokeResult) TxID() string
- type QueryResult
- func (qr *QueryResult) CheckBalance(expectedBalance string)
- func (qr *QueryResult) CheckErrorEquals(errMessage string)
- func (qr *QueryResult) CheckErrorIsNil()
- func (qr *QueryResult) CheckIndustrialBalance(expectedGroup, expectedBalance string)
- func (qr *QueryResult) CheckResponseWithFunc(responseCheckFunc func([]byte) string)
- func (qr *QueryResult) CheckResultContains(reference string)
- func (qr *QueryResult) CheckResultEquals(reference string)
- func (qr *QueryResult) ErrorCode() int32
- func (qr *QueryResult) RawResult() ([]byte, []byte)
- func (qr *QueryResult) SetErrorCode(errorCode int32)
- func (qr *QueryResult) SetMessage(message []byte)
- func (qr *QueryResult) SetResponse(response []byte)
- func (qr *QueryResult) SetTxID(txID string)
- func (qr *QueryResult) TxID() string
- type ResultInterface
- type Setters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvokeResult ¶
type InvokeResult struct {
// contains filtered or unexported fields
}
func (*InvokeResult) CheckErrorEquals ¶
func (ir *InvokeResult) CheckErrorEquals(errMessage string)
func (*InvokeResult) CheckErrorIsNil ¶
func (ir *InvokeResult) CheckErrorIsNil()
func (*InvokeResult) CheckResultContains ¶
func (ir *InvokeResult) CheckResultContains(reference string)
func (*InvokeResult) CheckResultEquals ¶
func (ir *InvokeResult) CheckResultEquals(reference string)
func (*InvokeResult) ErrorCode ¶
func (ir *InvokeResult) ErrorCode() int32
func (*InvokeResult) RawResult ¶
func (ir *InvokeResult) RawResult() ([]byte, []byte)
func (*InvokeResult) SetErrorCode ¶
func (ir *InvokeResult) SetErrorCode(errorCode int32)
func (*InvokeResult) SetMessage ¶
func (ir *InvokeResult) SetMessage(message []byte)
func (*InvokeResult) SetResponse ¶
func (ir *InvokeResult) SetResponse(response []byte)
func (*InvokeResult) SetTxID ¶
func (ir *InvokeResult) SetTxID(txID string)
func (*InvokeResult) TxID ¶
func (ir *InvokeResult) TxID() string
type QueryResult ¶
type QueryResult struct {
// contains filtered or unexported fields
}
func (*QueryResult) CheckBalance ¶
func (qr *QueryResult) CheckBalance(expectedBalance string)
func (*QueryResult) CheckErrorEquals ¶
func (qr *QueryResult) CheckErrorEquals(errMessage string)
func (*QueryResult) CheckErrorIsNil ¶
func (qr *QueryResult) CheckErrorIsNil()
func (*QueryResult) CheckIndustrialBalance ¶
func (qr *QueryResult) CheckIndustrialBalance(expectedGroup, expectedBalance string)
func (*QueryResult) CheckResponseWithFunc ¶
func (qr *QueryResult) CheckResponseWithFunc(responseCheckFunc func([]byte) string)
func (*QueryResult) CheckResultContains ¶
func (qr *QueryResult) CheckResultContains(reference string)
func (*QueryResult) CheckResultEquals ¶
func (qr *QueryResult) CheckResultEquals(reference string)
func (*QueryResult) ErrorCode ¶
func (qr *QueryResult) ErrorCode() int32
func (*QueryResult) RawResult ¶
func (qr *QueryResult) RawResult() ([]byte, []byte)
func (*QueryResult) SetErrorCode ¶
func (qr *QueryResult) SetErrorCode(errorCode int32)
func (*QueryResult) SetMessage ¶
func (qr *QueryResult) SetMessage(message []byte)
func (*QueryResult) SetResponse ¶
func (qr *QueryResult) SetResponse(response []byte)
func (*QueryResult) SetTxID ¶
func (qr *QueryResult) SetTxID(txID string)
func (*QueryResult) TxID ¶
func (qr *QueryResult) TxID() string
type ResultInterface ¶
Click to show internal directories.
Click to hide internal directories.