Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthUsecase ¶
type MockAuthUsecase struct {
// contains filtered or unexported fields
}
MockAuthUsecase is a mock of AuthUsecase interface.
func NewMockAuthUsecase ¶
func NewMockAuthUsecase(ctrl *gomock.Controller) *MockAuthUsecase
NewMockAuthUsecase creates a new mock instance.
func (*MockAuthUsecase) EXPECT ¶
func (m *MockAuthUsecase) EXPECT() *MockAuthUsecaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthUsecase) IsAuthorized ¶
func (m *MockAuthUsecase) IsAuthorized() bool
IsAuthorized mocks base method.
type MockAuthUsecaseMockRecorder ¶
type MockAuthUsecaseMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthUsecaseMockRecorder is the mock recorder for MockAuthUsecase.
func (*MockAuthUsecaseMockRecorder) IsAuthorized ¶
func (mr *MockAuthUsecaseMockRecorder) IsAuthorized() *gomock.Call
IsAuthorized indicates an expected call of IsAuthorized.
type MockConfigRepository ¶
type MockConfigRepository struct {
// contains filtered or unexported fields
}
MockConfigRepository is a mock of ConfigRepository interface.
func NewMockConfigRepository ¶
func NewMockConfigRepository(ctrl *gomock.Controller) *MockConfigRepository
NewMockConfigRepository creates a new mock instance.
func (*MockConfigRepository) EXPECT ¶
func (m *MockConfigRepository) EXPECT() *MockConfigRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConfigRepository) ReadConfig ¶
func (m *MockConfigRepository) ReadConfig() *config.Config
ReadConfig mocks base method.
type MockConfigRepositoryMockRecorder ¶
type MockConfigRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigRepositoryMockRecorder is the mock recorder for MockConfigRepository.
func (*MockConfigRepositoryMockRecorder) ReadConfig ¶
func (mr *MockConfigRepositoryMockRecorder) ReadConfig() *gomock.Call
ReadConfig indicates an expected call of ReadConfig.
type MockHelloUsecase ¶
type MockHelloUsecase struct {
// contains filtered or unexported fields
}
MockHelloUsecase is a mock of HelloUsecase interface.
func NewMockHelloUsecase ¶
func NewMockHelloUsecase(ctrl *gomock.Controller) *MockHelloUsecase
NewMockHelloUsecase creates a new mock instance.
func (*MockHelloUsecase) EXPECT ¶
func (m *MockHelloUsecase) EXPECT() *MockHelloUsecaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHelloUsecaseMockRecorder ¶
type MockHelloUsecaseMockRecorder struct {
// contains filtered or unexported fields
}
MockHelloUsecaseMockRecorder is the mock recorder for MockHelloUsecase.
func (*MockHelloUsecaseMockRecorder) Hello ¶
func (mr *MockHelloUsecaseMockRecorder) Hello() *gomock.Call
Hello indicates an expected call of Hello.
func (*MockHelloUsecaseMockRecorder) Hi ¶
func (mr *MockHelloUsecaseMockRecorder) Hi() *gomock.Call
Hi indicates an expected call of Hi.
type MockIPInfoRepository ¶
type MockIPInfoRepository struct {
// contains filtered or unexported fields
}
MockIPInfoRepository is a mock of IPInfoRepository interface.
func NewMockIPInfoRepository ¶
func NewMockIPInfoRepository(ctrl *gomock.Controller) *MockIPInfoRepository
NewMockIPInfoRepository creates a new mock instance.
func (*MockIPInfoRepository) EXPECT ¶
func (m *MockIPInfoRepository) EXPECT() *MockIPInfoRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIPInfoRepository) GetIPInfo ¶
func (m *MockIPInfoRepository) GetIPInfo() (string, error)
GetIPInfo mocks base method.
type MockIPInfoRepositoryMockRecorder ¶
type MockIPInfoRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockIPInfoRepositoryMockRecorder is the mock recorder for MockIPInfoRepository.
func (*MockIPInfoRepositoryMockRecorder) GetIPInfo ¶
func (mr *MockIPInfoRepositoryMockRecorder) GetIPInfo() *gomock.Call
GetIPInfo indicates an expected call of GetIPInfo.