Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockCryptoApi
- func (m *MockCryptoApi) DecodeBase58(base58 string, useChecksum bool) (string, error)
- func (m *MockCryptoApi) DecodeBase64(base64 string) (string, error)
- func (m *MockCryptoApi) DecryptAES(key, cbcIv, buffer string) (string, error)
- func (m *MockCryptoApi) EXPECT() *MockCryptoApiMockRecorder
- func (m *MockCryptoApi) EncodeBase58(buffer string, useChecksum bool) (string, error)
- func (m *MockCryptoApi) EncodeBase64(buffer string) (string, error)
- func (m *MockCryptoApi) EncryptAES(key, cbcIv, buffer string) (string, error)
- func (m *MockCryptoApi) Hash160(message string, hasText bool) (string, error)
- func (m *MockCryptoApi) Hash256(message string, hasText bool) (string, error)
- func (m *MockCryptoApi) Ripemd160(message string, hasText bool) (string, error)
- func (m *MockCryptoApi) Sha256(message string, hasText bool) (string, error)
- type MockCryptoApiMockRecorder
- func (mr *MockCryptoApiMockRecorder) DecodeBase58(base58, useChecksum interface{}) *gomock.Call
- func (mr *MockCryptoApiMockRecorder) DecodeBase64(base64 interface{}) *gomock.Call
- func (mr *MockCryptoApiMockRecorder) DecryptAES(key, cbcIv, buffer interface{}) *gomock.Call
- func (mr *MockCryptoApiMockRecorder) EncodeBase58(buffer, useChecksum interface{}) *gomock.Call
- func (mr *MockCryptoApiMockRecorder) EncodeBase64(buffer interface{}) *gomock.Call
- func (mr *MockCryptoApiMockRecorder) EncryptAES(key, cbcIv, buffer interface{}) *gomock.Call
- func (mr *MockCryptoApiMockRecorder) Hash160(message, hasText interface{}) *gomock.Call
- func (mr *MockCryptoApiMockRecorder) Hash256(message, hasText interface{}) *gomock.Call
- func (mr *MockCryptoApiMockRecorder) Ripemd160(message, hasText interface{}) *gomock.Call
- func (mr *MockCryptoApiMockRecorder) Sha256(message, hasText interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCryptoApi ¶
type MockCryptoApi struct {
// contains filtered or unexported fields
}
MockCryptoApi is a mock of CryptoApi interface.
func NewMockCryptoApi ¶
func NewMockCryptoApi(ctrl *gomock.Controller) *MockCryptoApi
NewMockCryptoApi creates a new mock instance.
func (*MockCryptoApi) DecodeBase58 ¶
func (m *MockCryptoApi) DecodeBase58(base58 string, useChecksum bool) (string, error)
DecodeBase58 mocks base method.
func (*MockCryptoApi) DecodeBase64 ¶
func (m *MockCryptoApi) DecodeBase64(base64 string) (string, error)
DecodeBase64 mocks base method.
func (*MockCryptoApi) DecryptAES ¶
func (m *MockCryptoApi) DecryptAES(key, cbcIv, buffer string) (string, error)
DecryptAES mocks base method.
func (*MockCryptoApi) EXPECT ¶
func (m *MockCryptoApi) EXPECT() *MockCryptoApiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCryptoApi) EncodeBase58 ¶
func (m *MockCryptoApi) EncodeBase58(buffer string, useChecksum bool) (string, error)
EncodeBase58 mocks base method.
func (*MockCryptoApi) EncodeBase64 ¶
func (m *MockCryptoApi) EncodeBase64(buffer string) (string, error)
EncodeBase64 mocks base method.
func (*MockCryptoApi) EncryptAES ¶
func (m *MockCryptoApi) EncryptAES(key, cbcIv, buffer string) (string, error)
EncryptAES mocks base method.
func (*MockCryptoApi) Hash160 ¶
func (m *MockCryptoApi) Hash160(message string, hasText bool) (string, error)
Hash160 mocks base method.
func (*MockCryptoApi) Hash256 ¶
func (m *MockCryptoApi) Hash256(message string, hasText bool) (string, error)
Hash256 mocks base method.
type MockCryptoApiMockRecorder ¶
type MockCryptoApiMockRecorder struct {
// contains filtered or unexported fields
}
MockCryptoApiMockRecorder is the mock recorder for MockCryptoApi.
func (*MockCryptoApiMockRecorder) DecodeBase58 ¶
func (mr *MockCryptoApiMockRecorder) DecodeBase58(base58, useChecksum interface{}) *gomock.Call
DecodeBase58 indicates an expected call of DecodeBase58.
func (*MockCryptoApiMockRecorder) DecodeBase64 ¶
func (mr *MockCryptoApiMockRecorder) DecodeBase64(base64 interface{}) *gomock.Call
DecodeBase64 indicates an expected call of DecodeBase64.
func (*MockCryptoApiMockRecorder) DecryptAES ¶
func (mr *MockCryptoApiMockRecorder) DecryptAES(key, cbcIv, buffer interface{}) *gomock.Call
DecryptAES indicates an expected call of DecryptAES.
func (*MockCryptoApiMockRecorder) EncodeBase58 ¶
func (mr *MockCryptoApiMockRecorder) EncodeBase58(buffer, useChecksum interface{}) *gomock.Call
EncodeBase58 indicates an expected call of EncodeBase58.
func (*MockCryptoApiMockRecorder) EncodeBase64 ¶
func (mr *MockCryptoApiMockRecorder) EncodeBase64(buffer interface{}) *gomock.Call
EncodeBase64 indicates an expected call of EncodeBase64.
func (*MockCryptoApiMockRecorder) EncryptAES ¶
func (mr *MockCryptoApiMockRecorder) EncryptAES(key, cbcIv, buffer interface{}) *gomock.Call
EncryptAES indicates an expected call of EncryptAES.
func (*MockCryptoApiMockRecorder) Hash160 ¶
func (mr *MockCryptoApiMockRecorder) Hash160(message, hasText interface{}) *gomock.Call
Hash160 indicates an expected call of Hash160.
func (*MockCryptoApiMockRecorder) Hash256 ¶
func (mr *MockCryptoApiMockRecorder) Hash256(message, hasText interface{}) *gomock.Call
Hash256 indicates an expected call of Hash256.
func (*MockCryptoApiMockRecorder) Ripemd160 ¶
func (mr *MockCryptoApiMockRecorder) Ripemd160(message, hasText interface{}) *gomock.Call
Ripemd160 indicates an expected call of Ripemd160.
func (*MockCryptoApiMockRecorder) Sha256 ¶
func (mr *MockCryptoApiMockRecorder) Sha256(message, hasText interface{}) *gomock.Call
Sha256 indicates an expected call of Sha256.