Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: nameservice/nameserviceclient/nameserviceclient.go
Generated by this command:
mockgen -source nameservice/nameserviceclient/nameserviceclient.go
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) 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 MockAnyNsClientServiceBase
- func (m *MockAnyNsClientServiceBase) BatchGetNameByAddress(ctx context.Context, in *nameserviceproto.BatchNameByAddressRequest) (*nameserviceproto.BatchNameByAddressResponse, error)
- func (m *MockAnyNsClientServiceBase) BatchGetNameByAnyId(ctx context.Context, in *nameserviceproto.BatchNameByAnyIdRequest) (*nameserviceproto.BatchNameByAddressResponse, error)
- func (m *MockAnyNsClientServiceBase) BatchIsNameAvailable(ctx context.Context, in *nameserviceproto.BatchNameAvailableRequest) (*nameserviceproto.BatchNameAvailableResponse, error)
- func (m *MockAnyNsClientServiceBase) EXPECT() *MockAnyNsClientServiceBaseMockRecorder
- func (m *MockAnyNsClientServiceBase) GetNameByAddress(ctx context.Context, in *nameserviceproto.NameByAddressRequest) (*nameserviceproto.NameByAddressResponse, error)
- func (m *MockAnyNsClientServiceBase) GetNameByAnyId(ctx context.Context, in *nameserviceproto.NameByAnyIdRequest) (*nameserviceproto.NameByAddressResponse, error)
- func (m *MockAnyNsClientServiceBase) Init(a *app.App) error
- func (m *MockAnyNsClientServiceBase) IsNameAvailable(ctx context.Context, in *nameserviceproto.NameAvailableRequest) (*nameserviceproto.NameAvailableResponse, error)
- func (m *MockAnyNsClientServiceBase) Name() string
- type MockAnyNsClientServiceBaseMockRecorder
- func (mr *MockAnyNsClientServiceBaseMockRecorder) BatchGetNameByAddress(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceBaseMockRecorder) BatchGetNameByAnyId(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceBaseMockRecorder) BatchIsNameAvailable(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceBaseMockRecorder) GetNameByAddress(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceBaseMockRecorder) GetNameByAnyId(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceBaseMockRecorder) Init(a any) *gomock.Call
- func (mr *MockAnyNsClientServiceBaseMockRecorder) IsNameAvailable(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceBaseMockRecorder) Name() *gomock.Call
- type MockAnyNsClientServiceMockRecorder
- func (mr *MockAnyNsClientServiceMockRecorder) AdminFundUserAccount(ctx, in any) *gomock.Call
- func (mr *MockAnyNsClientServiceMockRecorder) AdminRegisterName(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) 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 MockAnyNsClientServiceBase ¶
type MockAnyNsClientServiceBase struct {
// contains filtered or unexported fields
}
MockAnyNsClientServiceBase is a mock of AnyNsClientServiceBase interface.
func NewMockAnyNsClientServiceBase ¶
func NewMockAnyNsClientServiceBase(ctrl *gomock.Controller) *MockAnyNsClientServiceBase
NewMockAnyNsClientServiceBase creates a new mock instance.
func (*MockAnyNsClientServiceBase) BatchGetNameByAddress ¶ added in v0.3.33
func (m *MockAnyNsClientServiceBase) BatchGetNameByAddress(ctx context.Context, in *nameserviceproto.BatchNameByAddressRequest) (*nameserviceproto.BatchNameByAddressResponse, error)
BatchGetNameByAddress mocks base method.
func (*MockAnyNsClientServiceBase) BatchGetNameByAnyId ¶ added in v0.3.33
func (m *MockAnyNsClientServiceBase) BatchGetNameByAnyId(ctx context.Context, in *nameserviceproto.BatchNameByAnyIdRequest) (*nameserviceproto.BatchNameByAddressResponse, error)
BatchGetNameByAnyId mocks base method.
func (*MockAnyNsClientServiceBase) BatchIsNameAvailable ¶ added in v0.3.33
func (m *MockAnyNsClientServiceBase) BatchIsNameAvailable(ctx context.Context, in *nameserviceproto.BatchNameAvailableRequest) (*nameserviceproto.BatchNameAvailableResponse, error)
BatchIsNameAvailable mocks base method.
func (*MockAnyNsClientServiceBase) EXPECT ¶
func (m *MockAnyNsClientServiceBase) EXPECT() *MockAnyNsClientServiceBaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAnyNsClientServiceBase) GetNameByAddress ¶
func (m *MockAnyNsClientServiceBase) GetNameByAddress(ctx context.Context, in *nameserviceproto.NameByAddressRequest) (*nameserviceproto.NameByAddressResponse, error)
GetNameByAddress mocks base method.
func (*MockAnyNsClientServiceBase) GetNameByAnyId ¶ added in v0.3.33
func (m *MockAnyNsClientServiceBase) GetNameByAnyId(ctx context.Context, in *nameserviceproto.NameByAnyIdRequest) (*nameserviceproto.NameByAddressResponse, error)
GetNameByAnyId mocks base method.
func (*MockAnyNsClientServiceBase) Init ¶
func (m *MockAnyNsClientServiceBase) Init(a *app.App) error
Init mocks base method.
func (*MockAnyNsClientServiceBase) IsNameAvailable ¶
func (m *MockAnyNsClientServiceBase) IsNameAvailable(ctx context.Context, in *nameserviceproto.NameAvailableRequest) (*nameserviceproto.NameAvailableResponse, error)
IsNameAvailable mocks base method.
func (*MockAnyNsClientServiceBase) Name ¶
func (m *MockAnyNsClientServiceBase) Name() string
Name mocks base method.
type MockAnyNsClientServiceBaseMockRecorder ¶
type MockAnyNsClientServiceBaseMockRecorder struct {
// contains filtered or unexported fields
}
MockAnyNsClientServiceBaseMockRecorder is the mock recorder for MockAnyNsClientServiceBase.
func (*MockAnyNsClientServiceBaseMockRecorder) BatchGetNameByAddress ¶ added in v0.3.33
func (mr *MockAnyNsClientServiceBaseMockRecorder) BatchGetNameByAddress(ctx, in any) *gomock.Call
BatchGetNameByAddress indicates an expected call of BatchGetNameByAddress.
func (*MockAnyNsClientServiceBaseMockRecorder) BatchGetNameByAnyId ¶ added in v0.3.33
func (mr *MockAnyNsClientServiceBaseMockRecorder) BatchGetNameByAnyId(ctx, in any) *gomock.Call
BatchGetNameByAnyId indicates an expected call of BatchGetNameByAnyId.
func (*MockAnyNsClientServiceBaseMockRecorder) BatchIsNameAvailable ¶ added in v0.3.33
func (mr *MockAnyNsClientServiceBaseMockRecorder) BatchIsNameAvailable(ctx, in any) *gomock.Call
BatchIsNameAvailable indicates an expected call of BatchIsNameAvailable.
func (*MockAnyNsClientServiceBaseMockRecorder) GetNameByAddress ¶
func (mr *MockAnyNsClientServiceBaseMockRecorder) GetNameByAddress(ctx, in any) *gomock.Call
GetNameByAddress indicates an expected call of GetNameByAddress.
func (*MockAnyNsClientServiceBaseMockRecorder) GetNameByAnyId ¶ added in v0.3.33
func (mr *MockAnyNsClientServiceBaseMockRecorder) GetNameByAnyId(ctx, in any) *gomock.Call
GetNameByAnyId indicates an expected call of GetNameByAnyId.
func (*MockAnyNsClientServiceBaseMockRecorder) Init ¶
func (mr *MockAnyNsClientServiceBaseMockRecorder) Init(a any) *gomock.Call
Init indicates an expected call of Init.
func (*MockAnyNsClientServiceBaseMockRecorder) IsNameAvailable ¶
func (mr *MockAnyNsClientServiceBaseMockRecorder) IsNameAvailable(ctx, in any) *gomock.Call
IsNameAvailable indicates an expected call of IsNameAvailable.
func (*MockAnyNsClientServiceBaseMockRecorder) Name ¶
func (mr *MockAnyNsClientServiceBaseMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
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) 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.