Documentation ¶
Overview ¶
Package mock_cache is a generated GoMock package.
Index ¶
- type MockCacheService
- func (m *MockCacheService) EXPECT() *MockCacheServiceMockRecorder
- func (m *MockCacheService) GetNameByAddress(ctx context.Context, in *nameserviceproto.NameByAddressRequest) (*nameserviceproto.NameByAddressResponse, error)
- func (m *MockCacheService) GetNameByAnyId(ctx context.Context, in *nameserviceproto.NameByAnyIdRequest) (*nameserviceproto.NameByAddressResponse, error)
- func (m *MockCacheService) Init(a *app.App) error
- func (m *MockCacheService) IsNameAvailable(ctx context.Context, in *nameserviceproto.NameAvailableRequest) (*nameserviceproto.NameAvailableResponse, error)
- func (m *MockCacheService) Name() string
- func (m *MockCacheService) UpdateInCache(ctx context.Context, in *nameserviceproto.NameAvailableRequest) error
- type MockCacheServiceMockRecorder
- func (mr *MockCacheServiceMockRecorder) GetNameByAddress(ctx, in any) *gomock.Call
- func (mr *MockCacheServiceMockRecorder) GetNameByAnyId(ctx, in any) *gomock.Call
- func (mr *MockCacheServiceMockRecorder) Init(a any) *gomock.Call
- func (mr *MockCacheServiceMockRecorder) IsNameAvailable(ctx, in any) *gomock.Call
- func (mr *MockCacheServiceMockRecorder) Name() *gomock.Call
- func (mr *MockCacheServiceMockRecorder) UpdateInCache(ctx, in any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCacheService ¶
type MockCacheService struct {
// contains filtered or unexported fields
}
MockCacheService is a mock of CacheService interface.
func NewMockCacheService ¶
func NewMockCacheService(ctrl *gomock.Controller) *MockCacheService
NewMockCacheService creates a new mock instance.
func (*MockCacheService) EXPECT ¶
func (m *MockCacheService) EXPECT() *MockCacheServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCacheService) GetNameByAddress ¶
func (m *MockCacheService) GetNameByAddress(ctx context.Context, in *nameserviceproto.NameByAddressRequest) (*nameserviceproto.NameByAddressResponse, error)
GetNameByAddress mocks base method.
func (*MockCacheService) GetNameByAnyId ¶ added in v0.1.10
func (m *MockCacheService) GetNameByAnyId(ctx context.Context, in *nameserviceproto.NameByAnyIdRequest) (*nameserviceproto.NameByAddressResponse, error)
GetNameByAnyId mocks base method.
func (*MockCacheService) Init ¶
func (m *MockCacheService) Init(a *app.App) error
Init mocks base method.
func (*MockCacheService) IsNameAvailable ¶
func (m *MockCacheService) IsNameAvailable(ctx context.Context, in *nameserviceproto.NameAvailableRequest) (*nameserviceproto.NameAvailableResponse, error)
IsNameAvailable mocks base method.
func (*MockCacheService) UpdateInCache ¶
func (m *MockCacheService) UpdateInCache(ctx context.Context, in *nameserviceproto.NameAvailableRequest) error
UpdateInCache mocks base method.
type MockCacheServiceMockRecorder ¶
type MockCacheServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheServiceMockRecorder is the mock recorder for MockCacheService.
func (*MockCacheServiceMockRecorder) GetNameByAddress ¶
func (mr *MockCacheServiceMockRecorder) GetNameByAddress(ctx, in any) *gomock.Call
GetNameByAddress indicates an expected call of GetNameByAddress.
func (*MockCacheServiceMockRecorder) GetNameByAnyId ¶ added in v0.1.10
func (mr *MockCacheServiceMockRecorder) GetNameByAnyId(ctx, in any) *gomock.Call
GetNameByAnyId indicates an expected call of GetNameByAnyId.
func (*MockCacheServiceMockRecorder) Init ¶
func (mr *MockCacheServiceMockRecorder) Init(a any) *gomock.Call
Init indicates an expected call of Init.
func (*MockCacheServiceMockRecorder) IsNameAvailable ¶
func (mr *MockCacheServiceMockRecorder) IsNameAvailable(ctx, in any) *gomock.Call
IsNameAvailable indicates an expected call of IsNameAvailable.
func (*MockCacheServiceMockRecorder) Name ¶
func (mr *MockCacheServiceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockCacheServiceMockRecorder) UpdateInCache ¶
func (mr *MockCacheServiceMockRecorder) UpdateInCache(ctx, in any) *gomock.Call
UpdateInCache indicates an expected call of UpdateInCache.