Documentation ¶
Overview ¶
Package mock_txcrypto is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCryptor ¶
type MockCryptor struct {
// contains filtered or unexported fields
}
MockCryptor is a mock of Cryptor interface.
func NewMockCryptor ¶
func NewMockCryptor(ctrl *gomock.Controller) *MockCryptor
NewMockCryptor creates a new mock instance.
func (*MockCryptor) Decrypt ¶
func (m *MockCryptor) Decrypt(content []byte, address string) ([]byte, error)
Decrypt mocks base method.
func (*MockCryptor) EXPECT ¶
func (m *MockCryptor) EXPECT() *MockCryptorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCryptorMockRecorder ¶
type MockCryptorMockRecorder struct {
// contains filtered or unexported fields
}
MockCryptorMockRecorder is the mock recorder for MockCryptor.
func (*MockCryptorMockRecorder) Decrypt ¶
func (mr *MockCryptorMockRecorder) Decrypt(content, address interface{}) *gomock.Call
Decrypt indicates an expected call of Decrypt.
func (*MockCryptorMockRecorder) Encrypt ¶
func (mr *MockCryptorMockRecorder) Encrypt(content, address interface{}) *gomock.Call
Encrypt indicates an expected call of Encrypt.
Click to show internal directories.
Click to hide internal directories.