Documentation ¶
Overview ¶
Package mock_nameserviceclient is a generated GoMock package.
Index ¶
- type MockAnyNsClientService
- func (m *MockAnyNsClientService) AdminFundUserAccount(ctx context.Context, in *nameserviceproto.AdminFundUserAccountRequestSigned) (*nameserviceproto.OperationResponse, error)
- func (m *MockAnyNsClientService) AdminRegisterName(ctx context.Context, in *nameserviceproto.NameRegisterRequestSigned) (*nameserviceproto.OperationResponse, error)
- func (m *MockAnyNsClientService) AdminRenewName(ctx context.Context, in *nameserviceproto.NameRenewRequestSigned) (*nameserviceproto.OperationResponse, error)
- func (m *MockAnyNsClientService) BatchGetNameByAddress(ctx context.Context, in *nameserviceproto.BatchNameByAddressRequest) (*nameserviceproto.BatchNameByAddressResponse, error)
- func (m *MockAnyNsClientService) BatchGetNameByAnyId(ctx context.Context, in *nameserviceproto.BatchNameByAnyIdRequest) (*nameserviceproto.BatchNameByAddressResponse, error)
- func (m *MockAnyNsClientService) BatchIsNameAvailable(ctx context.Context, in *nameserviceproto.BatchNameAvailableRequest) (*nameserviceproto.BatchNameAvailableResponse, error)
- func (m *MockAnyNsClientService) CreateOperation(ctx context.Context, in *nameserviceproto.CreateUserOperationRequestSigned) (*nameserviceproto.OperationResponse, error)
- func (m *MockAnyNsClientService) EXPECT() *MockAnyNsClientServiceMockRecorder
- func (m *MockAnyNsClientService) GetNameByAddress(ctx context.Context, in *nameserviceproto.NameByAddressRequest) (*nameserviceproto.NameByAddressResponse, error)
- func (m *MockAnyNsClientService) GetNameByAnyId(ctx context.Context, in *nameserviceproto.NameByAnyIdRequest) (*nameserviceproto.NameByAddressResponse, error)
- func (m *MockAnyNsClientService) GetOperation(ctx context.Context, in *nameserviceproto.GetOperationStatusRequest) (*nameserviceproto.OperationResponse, error)
- func (m *MockAnyNsClientService) GetUserAccount(ctx context.Context, in *nameserviceproto.GetUserAccountRequest) (*nameserviceproto.UserAccount, error)
- func (m *MockAnyNsClientService) Init(a *app.App) error
- func (m *MockAnyNsClientService) IsNameAvailable(ctx context.Context, in *nameserviceproto.NameAvailableRequest) (*nameserviceproto.NameAvailableResponse, error)
- func (m *MockAnyNsClientService) Name() string
- type MockAnyNsClientServiceMockRecorder
- func (mr *MockAnyNsClientServiceMockRecorder) AdminFundUserAccount(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) AdminRegisterName(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) AdminRenewName(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) BatchGetNameByAddress(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) BatchGetNameByAnyId(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) BatchIsNameAvailable(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) CreateOperation(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) GetNameByAddress(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) GetNameByAnyId(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) GetOperation(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
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 *nameserviceproto.AdminFundUserAccountRequestSigned) (*nameserviceproto.OperationResponse, error)
AdminFundUserAccount mocks base method.
func (*MockAnyNsClientService) AdminRegisterName ¶ added in v0.3.33
func (m *MockAnyNsClientService) AdminRegisterName(ctx context.Context, in *nameserviceproto.NameRegisterRequestSigned) (*nameserviceproto.OperationResponse, error)
AdminRegisterName mocks base method.
func (*MockAnyNsClientService) AdminRenewName ¶ added in v0.5.1
func (m *MockAnyNsClientService) AdminRenewName(ctx context.Context, in *nameserviceproto.NameRenewRequestSigned) (*nameserviceproto.OperationResponse, error)
AdminRenewName mocks base method.
func (*MockAnyNsClientService) BatchGetNameByAddress ¶ added in v0.3.33
func (m *MockAnyNsClientService) BatchGetNameByAddress(ctx context.Context, in *nameserviceproto.BatchNameByAddressRequest) (*nameserviceproto.BatchNameByAddressResponse, error)
BatchGetNameByAddress mocks base method.
func (*MockAnyNsClientService) BatchGetNameByAnyId ¶ added in v0.3.33
func (m *MockAnyNsClientService) BatchGetNameByAnyId(ctx context.Context, in *nameserviceproto.BatchNameByAnyIdRequest) (*nameserviceproto.BatchNameByAddressResponse, error)
BatchGetNameByAnyId mocks base method.
func (*MockAnyNsClientService) BatchIsNameAvailable ¶ added in v0.3.33
func (m *MockAnyNsClientService) BatchIsNameAvailable(ctx context.Context, in *nameserviceproto.BatchNameAvailableRequest) (*nameserviceproto.BatchNameAvailableResponse, error)
BatchIsNameAvailable mocks base method.
func (*MockAnyNsClientService) CreateOperation ¶
func (m *MockAnyNsClientService) CreateOperation(ctx context.Context, in *nameserviceproto.CreateUserOperationRequestSigned) (*nameserviceproto.OperationResponse, error)
CreateOperation 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 *nameserviceproto.NameByAddressRequest) (*nameserviceproto.NameByAddressResponse, error)
GetNameByAddress mocks base method.
func (*MockAnyNsClientService) GetNameByAnyId ¶ added in v0.3.33
func (m *MockAnyNsClientService) GetNameByAnyId(ctx context.Context, in *nameserviceproto.NameByAnyIdRequest) (*nameserviceproto.NameByAddressResponse, error)
GetNameByAnyId mocks base method.
func (*MockAnyNsClientService) GetOperation ¶
func (m *MockAnyNsClientService) GetOperation(ctx context.Context, in *nameserviceproto.GetOperationStatusRequest) (*nameserviceproto.OperationResponse, error)
GetOperation mocks base method.
func (*MockAnyNsClientService) GetUserAccount ¶
func (m *MockAnyNsClientService) GetUserAccount(ctx context.Context, in *nameserviceproto.GetUserAccountRequest) (*nameserviceproto.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 *nameserviceproto.NameAvailableRequest) (*nameserviceproto.NameAvailableResponse, error)
IsNameAvailable mocks base method.
func (*MockAnyNsClientService) Name ¶
func (m *MockAnyNsClientService) Name() string
Name 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) AdminRegisterName ¶ added in v0.3.33
func (mr *MockAnyNsClientServiceMockRecorder) AdminRegisterName(ctx, in any) *gomock.Call
AdminRegisterName indicates an expected call of AdminRegisterName.
func (*MockAnyNsClientServiceMockRecorder) AdminRenewName ¶ added in v0.5.1
func (mr *MockAnyNsClientServiceMockRecorder) AdminRenewName(ctx, in any) *gomock.Call
AdminRenewName indicates an expected call of AdminRenewName.
func (*MockAnyNsClientServiceMockRecorder) BatchGetNameByAddress ¶ added in v0.3.33
func (mr *MockAnyNsClientServiceMockRecorder) BatchGetNameByAddress(ctx, in any) *gomock.Call
BatchGetNameByAddress indicates an expected call of BatchGetNameByAddress.
func (*MockAnyNsClientServiceMockRecorder) BatchGetNameByAnyId ¶ added in v0.3.33
func (mr *MockAnyNsClientServiceMockRecorder) BatchGetNameByAnyId(ctx, in any) *gomock.Call
BatchGetNameByAnyId indicates an expected call of BatchGetNameByAnyId.
func (*MockAnyNsClientServiceMockRecorder) BatchIsNameAvailable ¶ added in v0.3.33
func (mr *MockAnyNsClientServiceMockRecorder) BatchIsNameAvailable(ctx, in any) *gomock.Call
BatchIsNameAvailable indicates an expected call of BatchIsNameAvailable.
func (*MockAnyNsClientServiceMockRecorder) CreateOperation ¶
func (mr *MockAnyNsClientServiceMockRecorder) CreateOperation(ctx, in any) *gomock.Call
CreateOperation indicates an expected call of CreateOperation.
func (*MockAnyNsClientServiceMockRecorder) GetNameByAddress ¶
func (mr *MockAnyNsClientServiceMockRecorder) GetNameByAddress(ctx, in any) *gomock.Call
GetNameByAddress indicates an expected call of GetNameByAddress.
func (*MockAnyNsClientServiceMockRecorder) GetNameByAnyId ¶ added in v0.3.33
func (mr *MockAnyNsClientServiceMockRecorder) GetNameByAnyId(ctx, in any) *gomock.Call
GetNameByAnyId indicates an expected call of GetNameByAnyId.
func (*MockAnyNsClientServiceMockRecorder) GetOperation ¶
func (mr *MockAnyNsClientServiceMockRecorder) GetOperation(ctx, in any) *gomock.Call
GetOperation indicates an expected call of GetOperation.
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.