Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: client/client.go
Generated by this command:
mockgen -source=client/client.go
Package mock_client is a generated GoMock package.
Index ¶
- type MockAnyNsClientService
- func (m *MockAnyNsClientService) AdminFundUserAccount(ctx context.Context, in *anyns_api.AdminFundUserAccountRequestSigned) (*anyns_api.OperationResponse, error)
- func (m *MockAnyNsClientService) Close(ctx context.Context) error
- func (m *MockAnyNsClientService) EXPECT() *MockAnyNsClientServiceMockRecorder
- func (m *MockAnyNsClientService) GetNameByAddress(ctx context.Context, in *anyns_api.NameByAddressRequest) (*anyns_api.NameByAddressResponse, error)
- func (m *MockAnyNsClientService) GetOperation(ctx context.Context, in *anyns_api.GetOperationStatusRequest) (*anyns_api.OperationResponse, error)
- func (m *MockAnyNsClientService) GetOperationStatus(ctx context.Context, in *anyns_api.GetOperationStatusRequest) (*anyns_api.OperationResponse, error)
- func (m *MockAnyNsClientService) GetUserAccount(ctx context.Context, in *anyns_api.GetUserAccountRequest) (*anyns_api.UserAccount, error)
- func (m *MockAnyNsClientService) Init(a *app.App) error
- func (m *MockAnyNsClientService) IsNameAvailable(ctx context.Context, in *anyns_api.NameAvailableRequest) (*anyns_api.NameAvailableResponse, error)
- func (m *MockAnyNsClientService) Name() string
- func (m *MockAnyNsClientService) NameRegister(ctx context.Context, in *anyns_api.NameRegisterRequest) (*anyns_api.OperationResponse, error)
- func (m *MockAnyNsClientService) NameRegisterSigned(ctx context.Context, in *anyns_api.NameRegisterSignedRequest) (*anyns_api.OperationResponse, error)
- func (m *MockAnyNsClientService) NameRenew(ctx context.Context, in *anyns_api.NameRenewRequest) (*anyns_api.OperationResponse, error)
- func (m *MockAnyNsClientService) Run(ctx context.Context) error
- type MockAnyNsClientServiceMockRecorder
- func (mr *MockAnyNsClientServiceMockRecorder) AdminFundUserAccount(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) Close(ctx any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) GetNameByAddress(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) GetOperation(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) GetOperationStatus(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) GetUserAccount(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) Init(a any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) IsNameAvailable(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) Name() *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) NameRegister(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) NameRegisterSigned(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) NameRenew(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) Run(ctx any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAnyNsClientService ¶
type MockAnyNsClientService struct {
// contains filtered or unexported fields
}
MockAnyNsClientService is a mock of AnyNsClientService interface.
func NewMockAnyNsClientService ¶
func NewMockAnyNsClientService(ctrl *gomock.Controller) *MockAnyNsClientService
NewMockAnyNsClientService creates a new mock instance.
func (*MockAnyNsClientService) AdminFundUserAccount ¶
func (m *MockAnyNsClientService) AdminFundUserAccount(ctx context.Context, in *anyns_api.AdminFundUserAccountRequestSigned) (*anyns_api.OperationResponse, error)
AdminFundUserAccount mocks base method.
func (*MockAnyNsClientService) Close ¶
func (m *MockAnyNsClientService) Close(ctx context.Context) error
Close mocks base method.
func (*MockAnyNsClientService) EXPECT ¶
func (m *MockAnyNsClientService) EXPECT() *MockAnyNsClientServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAnyNsClientService) GetNameByAddress ¶
func (m *MockAnyNsClientService) GetNameByAddress(ctx context.Context, in *anyns_api.NameByAddressRequest) (*anyns_api.NameByAddressResponse, error)
GetNameByAddress mocks base method.
func (*MockAnyNsClientService) GetOperation ¶
func (m *MockAnyNsClientService) GetOperation(ctx context.Context, in *anyns_api.GetOperationStatusRequest) (*anyns_api.OperationResponse, error)
GetOperation mocks base method.
func (*MockAnyNsClientService) GetOperationStatus ¶
func (m *MockAnyNsClientService) GetOperationStatus(ctx context.Context, in *anyns_api.GetOperationStatusRequest) (*anyns_api.OperationResponse, error)
GetOperationStatus mocks base method.
func (*MockAnyNsClientService) GetUserAccount ¶
func (m *MockAnyNsClientService) GetUserAccount(ctx context.Context, in *anyns_api.GetUserAccountRequest) (*anyns_api.UserAccount, error)
GetUserAccount mocks base method.
func (*MockAnyNsClientService) Init ¶
func (m *MockAnyNsClientService) Init(a *app.App) error
Init mocks base method.
func (*MockAnyNsClientService) IsNameAvailable ¶
func (m *MockAnyNsClientService) IsNameAvailable(ctx context.Context, in *anyns_api.NameAvailableRequest) (*anyns_api.NameAvailableResponse, error)
IsNameAvailable mocks base method.
func (*MockAnyNsClientService) Name ¶
func (m *MockAnyNsClientService) Name() string
Name mocks base method.
func (*MockAnyNsClientService) NameRegister ¶
func (m *MockAnyNsClientService) NameRegister(ctx context.Context, in *anyns_api.NameRegisterRequest) (*anyns_api.OperationResponse, error)
NameRegister mocks base method.
func (*MockAnyNsClientService) NameRegisterSigned ¶
func (m *MockAnyNsClientService) NameRegisterSigned(ctx context.Context, in *anyns_api.NameRegisterSignedRequest) (*anyns_api.OperationResponse, error)
NameRegisterSigned mocks base method.
func (*MockAnyNsClientService) NameRenew ¶
func (m *MockAnyNsClientService) NameRenew(ctx context.Context, in *anyns_api.NameRenewRequest) (*anyns_api.OperationResponse, error)
NameRenew mocks base method.
type MockAnyNsClientServiceMockRecorder ¶
type MockAnyNsClientServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAnyNsClientServiceMockRecorder is the mock recorder for MockAnyNsClientService.
func (*MockAnyNsClientServiceMockRecorder) AdminFundUserAccount ¶
func (mr *MockAnyNsClientServiceMockRecorder) AdminFundUserAccount(ctx, in any) *gomock.Call
AdminFundUserAccount indicates an expected call of AdminFundUserAccount.
func (*MockAnyNsClientServiceMockRecorder) Close ¶
func (mr *MockAnyNsClientServiceMockRecorder) Close(ctx any) *gomock.Call
Close indicates an expected call of Close.
func (*MockAnyNsClientServiceMockRecorder) GetNameByAddress ¶
func (mr *MockAnyNsClientServiceMockRecorder) GetNameByAddress(ctx, in any) *gomock.Call
GetNameByAddress indicates an expected call of GetNameByAddress.
func (*MockAnyNsClientServiceMockRecorder) GetOperation ¶
func (mr *MockAnyNsClientServiceMockRecorder) GetOperation(ctx, in any) *gomock.Call
GetOperation indicates an expected call of GetOperation.
func (*MockAnyNsClientServiceMockRecorder) GetOperationStatus ¶
func (mr *MockAnyNsClientServiceMockRecorder) GetOperationStatus(ctx, in any) *gomock.Call
GetOperationStatus indicates an expected call of GetOperationStatus.
func (*MockAnyNsClientServiceMockRecorder) GetUserAccount ¶
func (mr *MockAnyNsClientServiceMockRecorder) GetUserAccount(ctx, in any) *gomock.Call
GetUserAccount indicates an expected call of GetUserAccount.
func (*MockAnyNsClientServiceMockRecorder) Init ¶
func (mr *MockAnyNsClientServiceMockRecorder) Init(a any) *gomock.Call
Init indicates an expected call of Init.
func (*MockAnyNsClientServiceMockRecorder) IsNameAvailable ¶
func (mr *MockAnyNsClientServiceMockRecorder) IsNameAvailable(ctx, in any) *gomock.Call
IsNameAvailable indicates an expected call of IsNameAvailable.
func (*MockAnyNsClientServiceMockRecorder) Name ¶
func (mr *MockAnyNsClientServiceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockAnyNsClientServiceMockRecorder) NameRegister ¶
func (mr *MockAnyNsClientServiceMockRecorder) NameRegister(ctx, in any) *gomock.Call
NameRegister indicates an expected call of NameRegister.
func (*MockAnyNsClientServiceMockRecorder) NameRegisterSigned ¶
func (mr *MockAnyNsClientServiceMockRecorder) NameRegisterSigned(ctx, in any) *gomock.Call
NameRegisterSigned indicates an expected call of NameRegisterSigned.