Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MockInvoke ¶
MockInvoke helper for invoking MockStub with transient key and encrypted args
Types ¶
type MockStub ¶
type MockStub struct {
MockStub *testcc.MockStub
//EncKey key for encrypt data before query/invoke
EncKey []byte
// DecryptInvokeResponse decrypts invoker responses
DecryptInvokeResponse bool
}
MockStub wrapper for querying and invoking encrypted chaincode
func NewMockStub ¶
NewMockStub creates wrapper for querying and invoking encrypted chaincode
func (*MockStub) LastEvent ¶
func (s *MockStub) LastEvent() *peer.ChaincodeEvent
Click to show internal directories.
Click to hide internal directories.