Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockDescriptorApi
- func (m *MockDescriptorApi) EXPECT() *MockDescriptorApiMockRecorder
- func (m *MockDescriptorApi) GetChecksum(descriptor *types.Descriptor) (string, error)
- func (m *MockDescriptorApi) GetNetworkTypes() []types.NetworkType
- func (m *MockDescriptorApi) NewDescriptorFromAddress(address string) *types.Descriptor
- func (m *MockDescriptorApi) NewDescriptorFromExtPubkey(hashType types.HashType, extPubkey *types.ExtPubkey) (*types.Descriptor, error)
- func (m *MockDescriptorApi) NewDescriptorFromLockingScript(lockingScript string) *types.Descriptor
- func (m *MockDescriptorApi) NewDescriptorFromMultisig(hashType types.HashType, pubkeys []string, requireNum int) *types.Descriptor
- func (m *MockDescriptorApi) NewDescriptorFromPubkey(hashType types.HashType, pubkey *types.Pubkey) *types.Descriptor
- func (m *MockDescriptorApi) NewDescriptorFromString(descriptor string) *types.Descriptor
- func (m *MockDescriptorApi) Parse(descriptor *types.Descriptor) (*types.DescriptorRootData, []types.DescriptorData, error)
- func (m *MockDescriptorApi) ParseByFilter(descriptor *types.Descriptor, filter *types.DescriptorParseFilter) (*types.DescriptorRootData, []types.DescriptorData, error)
- func (m *MockDescriptorApi) ParseByFilterWithDerivationPath(descriptor *types.Descriptor, bip32DerivationPath string, ...) (*types.DescriptorRootData, []types.DescriptorData, error)
- func (m *MockDescriptorApi) ParseByString(descriptor string) (*types.DescriptorRootData, []types.DescriptorData, error)
- func (m *MockDescriptorApi) ParseWithDerivationPath(descriptor *types.Descriptor, bip32DerivationPath string) (*types.DescriptorRootData, []types.DescriptorData, error)
- type MockDescriptorApiMockRecorder
- func (mr *MockDescriptorApiMockRecorder) GetChecksum(descriptor any) *gomock.Call
- func (mr *MockDescriptorApiMockRecorder) GetNetworkTypes() *gomock.Call
- func (mr *MockDescriptorApiMockRecorder) NewDescriptorFromAddress(address any) *gomock.Call
- func (mr *MockDescriptorApiMockRecorder) NewDescriptorFromExtPubkey(hashType, extPubkey any) *gomock.Call
- func (mr *MockDescriptorApiMockRecorder) NewDescriptorFromLockingScript(lockingScript any) *gomock.Call
- func (mr *MockDescriptorApiMockRecorder) NewDescriptorFromMultisig(hashType, pubkeys, requireNum any) *gomock.Call
- func (mr *MockDescriptorApiMockRecorder) NewDescriptorFromPubkey(hashType, pubkey any) *gomock.Call
- func (mr *MockDescriptorApiMockRecorder) NewDescriptorFromString(descriptor any) *gomock.Call
- func (mr *MockDescriptorApiMockRecorder) Parse(descriptor any) *gomock.Call
- func (mr *MockDescriptorApiMockRecorder) ParseByFilter(descriptor, filter any) *gomock.Call
- func (mr *MockDescriptorApiMockRecorder) ParseByFilterWithDerivationPath(descriptor, bip32DerivationPath, filter any) *gomock.Call
- func (mr *MockDescriptorApiMockRecorder) ParseByString(descriptor any) *gomock.Call
- func (mr *MockDescriptorApiMockRecorder) ParseWithDerivationPath(descriptor, bip32DerivationPath any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDescriptorApi ¶
type MockDescriptorApi struct {
// contains filtered or unexported fields
}
MockDescriptorApi is a mock of DescriptorApi interface.
func NewMockDescriptorApi ¶
func NewMockDescriptorApi(ctrl *gomock.Controller) *MockDescriptorApi
NewMockDescriptorApi creates a new mock instance.
func (*MockDescriptorApi) EXPECT ¶
func (m *MockDescriptorApi) EXPECT() *MockDescriptorApiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDescriptorApi) GetChecksum ¶
func (m *MockDescriptorApi) GetChecksum(descriptor *types.Descriptor) (string, error)
GetChecksum mocks base method.
func (*MockDescriptorApi) GetNetworkTypes ¶
func (m *MockDescriptorApi) GetNetworkTypes() []types.NetworkType
GetNetworkTypes mocks base method.
func (*MockDescriptorApi) NewDescriptorFromAddress ¶
func (m *MockDescriptorApi) NewDescriptorFromAddress(address string) *types.Descriptor
NewDescriptorFromAddress mocks base method.
func (*MockDescriptorApi) NewDescriptorFromExtPubkey ¶ added in v0.3.18
func (m *MockDescriptorApi) NewDescriptorFromExtPubkey(hashType types.HashType, extPubkey *types.ExtPubkey) (*types.Descriptor, error)
NewDescriptorFromExtPubkey mocks base method.
func (*MockDescriptorApi) NewDescriptorFromLockingScript ¶
func (m *MockDescriptorApi) NewDescriptorFromLockingScript(lockingScript string) *types.Descriptor
NewDescriptorFromLockingScript mocks base method.
func (*MockDescriptorApi) NewDescriptorFromMultisig ¶
func (m *MockDescriptorApi) NewDescriptorFromMultisig(hashType types.HashType, pubkeys []string, requireNum int) *types.Descriptor
NewDescriptorFromMultisig mocks base method.
func (*MockDescriptorApi) NewDescriptorFromPubkey ¶
func (m *MockDescriptorApi) NewDescriptorFromPubkey(hashType types.HashType, pubkey *types.Pubkey) *types.Descriptor
NewDescriptorFromPubkey mocks base method.
func (*MockDescriptorApi) NewDescriptorFromString ¶
func (m *MockDescriptorApi) NewDescriptorFromString(descriptor string) *types.Descriptor
NewDescriptorFromString mocks base method.
func (*MockDescriptorApi) Parse ¶
func (m *MockDescriptorApi) Parse(descriptor *types.Descriptor) (*types.DescriptorRootData, []types.DescriptorData, error)
Parse mocks base method.
func (*MockDescriptorApi) ParseByFilter ¶
func (m *MockDescriptorApi) ParseByFilter(descriptor *types.Descriptor, filter *types.DescriptorParseFilter) (*types.DescriptorRootData, []types.DescriptorData, error)
ParseByFilter mocks base method.
func (*MockDescriptorApi) ParseByFilterWithDerivationPath ¶
func (m *MockDescriptorApi) ParseByFilterWithDerivationPath(descriptor *types.Descriptor, bip32DerivationPath string, filter *types.DescriptorParseFilter) (*types.DescriptorRootData, []types.DescriptorData, error)
ParseByFilterWithDerivationPath mocks base method.
func (*MockDescriptorApi) ParseByString ¶
func (m *MockDescriptorApi) ParseByString(descriptor string) (*types.DescriptorRootData, []types.DescriptorData, error)
ParseByString mocks base method.
func (*MockDescriptorApi) ParseWithDerivationPath ¶
func (m *MockDescriptorApi) ParseWithDerivationPath(descriptor *types.Descriptor, bip32DerivationPath string) (*types.DescriptorRootData, []types.DescriptorData, error)
ParseWithDerivationPath mocks base method.
type MockDescriptorApiMockRecorder ¶
type MockDescriptorApiMockRecorder struct {
// contains filtered or unexported fields
}
MockDescriptorApiMockRecorder is the mock recorder for MockDescriptorApi.
func (*MockDescriptorApiMockRecorder) GetChecksum ¶
func (mr *MockDescriptorApiMockRecorder) GetChecksum(descriptor any) *gomock.Call
GetChecksum indicates an expected call of GetChecksum.
func (*MockDescriptorApiMockRecorder) GetNetworkTypes ¶
func (mr *MockDescriptorApiMockRecorder) GetNetworkTypes() *gomock.Call
GetNetworkTypes indicates an expected call of GetNetworkTypes.
func (*MockDescriptorApiMockRecorder) NewDescriptorFromAddress ¶
func (mr *MockDescriptorApiMockRecorder) NewDescriptorFromAddress(address any) *gomock.Call
NewDescriptorFromAddress indicates an expected call of NewDescriptorFromAddress.
func (*MockDescriptorApiMockRecorder) NewDescriptorFromExtPubkey ¶ added in v0.3.18
func (mr *MockDescriptorApiMockRecorder) NewDescriptorFromExtPubkey(hashType, extPubkey any) *gomock.Call
NewDescriptorFromExtPubkey indicates an expected call of NewDescriptorFromExtPubkey.
func (*MockDescriptorApiMockRecorder) NewDescriptorFromLockingScript ¶
func (mr *MockDescriptorApiMockRecorder) NewDescriptorFromLockingScript(lockingScript any) *gomock.Call
NewDescriptorFromLockingScript indicates an expected call of NewDescriptorFromLockingScript.
func (*MockDescriptorApiMockRecorder) NewDescriptorFromMultisig ¶
func (mr *MockDescriptorApiMockRecorder) NewDescriptorFromMultisig(hashType, pubkeys, requireNum any) *gomock.Call
NewDescriptorFromMultisig indicates an expected call of NewDescriptorFromMultisig.
func (*MockDescriptorApiMockRecorder) NewDescriptorFromPubkey ¶
func (mr *MockDescriptorApiMockRecorder) NewDescriptorFromPubkey(hashType, pubkey any) *gomock.Call
NewDescriptorFromPubkey indicates an expected call of NewDescriptorFromPubkey.
func (*MockDescriptorApiMockRecorder) NewDescriptorFromString ¶
func (mr *MockDescriptorApiMockRecorder) NewDescriptorFromString(descriptor any) *gomock.Call
NewDescriptorFromString indicates an expected call of NewDescriptorFromString.
func (*MockDescriptorApiMockRecorder) Parse ¶
func (mr *MockDescriptorApiMockRecorder) Parse(descriptor any) *gomock.Call
Parse indicates an expected call of Parse.
func (*MockDescriptorApiMockRecorder) ParseByFilter ¶
func (mr *MockDescriptorApiMockRecorder) ParseByFilter(descriptor, filter any) *gomock.Call
ParseByFilter indicates an expected call of ParseByFilter.
func (*MockDescriptorApiMockRecorder) ParseByFilterWithDerivationPath ¶
func (mr *MockDescriptorApiMockRecorder) ParseByFilterWithDerivationPath(descriptor, bip32DerivationPath, filter any) *gomock.Call
ParseByFilterWithDerivationPath indicates an expected call of ParseByFilterWithDerivationPath.
func (*MockDescriptorApiMockRecorder) ParseByString ¶
func (mr *MockDescriptorApiMockRecorder) ParseByString(descriptor any) *gomock.Call
ParseByString indicates an expected call of ParseByString.
func (*MockDescriptorApiMockRecorder) ParseWithDerivationPath ¶
func (mr *MockDescriptorApiMockRecorder) ParseWithDerivationPath(descriptor, bip32DerivationPath any) *gomock.Call
ParseWithDerivationPath indicates an expected call of ParseWithDerivationPath.