Documentation ¶
Index ¶
- type MockAccessesRepository
- func (_m *MockAccessesRepository) DeleteAllianceAndCorpRole(allianceId int64, corporationId int64, role *model.Role) (int64, error)
- func (_m *MockAccessesRepository) DeleteAllianceCharacterLeadershipRole(allianceId int64, characterId int64, role *model.Role) (int64, error)
- func (_m *MockAccessesRepository) DeleteAllianceRole(allianceId int64, role *model.Role) (int64, error)
- func (_m *MockAccessesRepository) DeleteCharacterRole(characterId int64, role *model.Role) (int64, error)
- func (_m *MockAccessesRepository) DeleteCorporationCharacterLeadershipRole(corporationId int64, characterId int64, role *model.Role) (int64, error)
- func (_m *MockAccessesRepository) DeleteCorporationRole(corporationId int64, role *model.Role) (int64, error)
- func (_m *MockAccessesRepository) EXPECT() *_MockAccessesRepositoryRecorder
- func (_m *MockAccessesRepository) FindByChatId(chatId string) ([]string, error)
- func (_m *MockAccessesRepository) SaveAllianceAndCorpRole(allianceId int64, corporationId int64, role *model.Role) error
- func (_m *MockAccessesRepository) SaveAllianceCharacterLeadershipRole(allianceId int64, characterId int64, role *model.Role) error
- func (_m *MockAccessesRepository) SaveAllianceRole(allianceId int64, role *model.Role) error
- func (_m *MockAccessesRepository) SaveCharacterRole(characterId int64, role *model.Role) error
- func (_m *MockAccessesRepository) SaveCorporationCharacterLeadershipRole(corporationId int64, characterId int64, role *model.Role) error
- func (_m *MockAccessesRepository) SaveCorporationRole(corporationId int64, role *model.Role) error
- type MockAllianceRepository
- func (_m *MockAllianceRepository) Delete(_param0 int64) error
- func (_m *MockAllianceRepository) EXPECT() *_MockAllianceRepositoryRecorder
- func (_m *MockAllianceRepository) FindAll() []*model.Alliance
- func (_m *MockAllianceRepository) FindByAllianceId(_param0 int64) *model.Alliance
- func (_m *MockAllianceRepository) Save(_param0 *model.Alliance) error
- type MockAuthenticationCodeRepository
- type MockCharacterRepository
- func (_m *MockCharacterRepository) Delete(_param0 int64) error
- func (_m *MockCharacterRepository) EXPECT() *_MockCharacterRepositoryRecorder
- func (_m *MockCharacterRepository) FindAll() []*model.Character
- func (_m *MockCharacterRepository) FindByAutenticationCode(_param0 string) *model.Character
- func (_m *MockCharacterRepository) FindByCharacterId(_param0 int64) *model.Character
- func (_m *MockCharacterRepository) Save(_param0 *model.Character) error
- type MockCorporationRepository
- func (_m *MockCorporationRepository) Delete(_param0 int64) error
- func (_m *MockCorporationRepository) EXPECT() *_MockCorporationRepositoryRecorder
- func (_m *MockCorporationRepository) FindAll() []*model.Corporation
- func (_m *MockCorporationRepository) FindByCorporationId(_param0 int64) *model.Corporation
- func (_m *MockCorporationRepository) Save(_param0 *model.Corporation) error
- type MockRoleRepository
- func (_m *MockRoleRepository) Delete(_param0 string) error
- func (_m *MockRoleRepository) EXPECT() *_MockRoleRepositoryRecorder
- func (_m *MockRoleRepository) FindAll() []*model.Role
- func (_m *MockRoleRepository) FindByRoleName(_param0 string) *model.Role
- func (_m *MockRoleRepository) Save(_param0 *model.Role) error
- type MockUserRepository
- func (_m *MockUserRepository) EXPECT() *_MockUserRepositoryRecorder
- func (_m *MockUserRepository) FindByChatId(_param0 string) *model.User
- func (_m *MockUserRepository) LinkCharacterToUserByAuthCode(_param0 string, _param1 *model.User) error
- func (_m *MockUserRepository) Save(_param0 *model.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccessesRepository ¶
type MockAccessesRepository struct {
// contains filtered or unexported fields
}
Mock of AccessesRepository interface
func NewMockAccessesRepository ¶
func NewMockAccessesRepository(ctrl *gomock.Controller) *MockAccessesRepository
func (*MockAccessesRepository) DeleteAllianceAndCorpRole ¶
func (*MockAccessesRepository) DeleteAllianceCharacterLeadershipRole ¶
func (*MockAccessesRepository) DeleteAllianceRole ¶
func (*MockAccessesRepository) DeleteCharacterRole ¶
func (*MockAccessesRepository) DeleteCorporationCharacterLeadershipRole ¶
func (*MockAccessesRepository) DeleteCorporationRole ¶
func (*MockAccessesRepository) EXPECT ¶
func (_m *MockAccessesRepository) EXPECT() *_MockAccessesRepositoryRecorder
func (*MockAccessesRepository) FindByChatId ¶
func (_m *MockAccessesRepository) FindByChatId(chatId string) ([]string, error)
func (*MockAccessesRepository) SaveAllianceAndCorpRole ¶
func (*MockAccessesRepository) SaveAllianceCharacterLeadershipRole ¶
func (*MockAccessesRepository) SaveAllianceRole ¶
func (_m *MockAccessesRepository) SaveAllianceRole(allianceId int64, role *model.Role) error
func (*MockAccessesRepository) SaveCharacterRole ¶
func (_m *MockAccessesRepository) SaveCharacterRole(characterId int64, role *model.Role) error
func (*MockAccessesRepository) SaveCorporationCharacterLeadershipRole ¶
func (*MockAccessesRepository) SaveCorporationRole ¶
func (_m *MockAccessesRepository) SaveCorporationRole(corporationId int64, role *model.Role) error
type MockAllianceRepository ¶
type MockAllianceRepository struct {
// contains filtered or unexported fields
}
Mock of AllianceRepository interface
func NewMockAllianceRepository ¶
func NewMockAllianceRepository(ctrl *gomock.Controller) *MockAllianceRepository
func (*MockAllianceRepository) Delete ¶
func (_m *MockAllianceRepository) Delete(_param0 int64) error
func (*MockAllianceRepository) EXPECT ¶
func (_m *MockAllianceRepository) EXPECT() *_MockAllianceRepositoryRecorder
func (*MockAllianceRepository) FindAll ¶
func (_m *MockAllianceRepository) FindAll() []*model.Alliance
func (*MockAllianceRepository) FindByAllianceId ¶
func (_m *MockAllianceRepository) FindByAllianceId(_param0 int64) *model.Alliance
type MockAuthenticationCodeRepository ¶
type MockAuthenticationCodeRepository struct {
// contains filtered or unexported fields
}
Mock of AuthenticationCodeRepository interface
func NewMockAuthenticationCodeRepository ¶
func NewMockAuthenticationCodeRepository(ctrl *gomock.Controller) *MockAuthenticationCodeRepository
func (*MockAuthenticationCodeRepository) EXPECT ¶
func (_m *MockAuthenticationCodeRepository) EXPECT() *_MockAuthenticationCodeRepositoryRecorder
type MockCharacterRepository ¶
type MockCharacterRepository struct {
// contains filtered or unexported fields
}
Mock of CharacterRepository interface
func NewMockCharacterRepository ¶
func NewMockCharacterRepository(ctrl *gomock.Controller) *MockCharacterRepository
func (*MockCharacterRepository) Delete ¶
func (_m *MockCharacterRepository) Delete(_param0 int64) error
func (*MockCharacterRepository) EXPECT ¶
func (_m *MockCharacterRepository) EXPECT() *_MockCharacterRepositoryRecorder
func (*MockCharacterRepository) FindAll ¶
func (_m *MockCharacterRepository) FindAll() []*model.Character
func (*MockCharacterRepository) FindByAutenticationCode ¶
func (_m *MockCharacterRepository) FindByAutenticationCode(_param0 string) *model.Character
func (*MockCharacterRepository) FindByCharacterId ¶
func (_m *MockCharacterRepository) FindByCharacterId(_param0 int64) *model.Character
type MockCorporationRepository ¶
type MockCorporationRepository struct {
// contains filtered or unexported fields
}
Mock of CorporationRepository interface
func NewMockCorporationRepository ¶
func NewMockCorporationRepository(ctrl *gomock.Controller) *MockCorporationRepository
func (*MockCorporationRepository) Delete ¶
func (_m *MockCorporationRepository) Delete(_param0 int64) error
func (*MockCorporationRepository) EXPECT ¶
func (_m *MockCorporationRepository) EXPECT() *_MockCorporationRepositoryRecorder
func (*MockCorporationRepository) FindAll ¶
func (_m *MockCorporationRepository) FindAll() []*model.Corporation
func (*MockCorporationRepository) FindByCorporationId ¶
func (_m *MockCorporationRepository) FindByCorporationId(_param0 int64) *model.Corporation
func (*MockCorporationRepository) Save ¶
func (_m *MockCorporationRepository) Save(_param0 *model.Corporation) error
type MockRoleRepository ¶
type MockRoleRepository struct {
// contains filtered or unexported fields
}
Mock of RoleRepository interface
func NewMockRoleRepository ¶
func NewMockRoleRepository(ctrl *gomock.Controller) *MockRoleRepository
func (*MockRoleRepository) Delete ¶
func (_m *MockRoleRepository) Delete(_param0 string) error
func (*MockRoleRepository) EXPECT ¶
func (_m *MockRoleRepository) EXPECT() *_MockRoleRepositoryRecorder
func (*MockRoleRepository) FindAll ¶
func (_m *MockRoleRepository) FindAll() []*model.Role
func (*MockRoleRepository) FindByRoleName ¶
func (_m *MockRoleRepository) FindByRoleName(_param0 string) *model.Role
type MockUserRepository ¶
type MockUserRepository struct {
// contains filtered or unexported fields
}
Mock of UserRepository interface
func NewMockUserRepository ¶
func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository
func (*MockUserRepository) EXPECT ¶
func (_m *MockUserRepository) EXPECT() *_MockUserRepositoryRecorder
func (*MockUserRepository) FindByChatId ¶
func (_m *MockUserRepository) FindByChatId(_param0 string) *model.User
func (*MockUserRepository) LinkCharacterToUserByAuthCode ¶
func (_m *MockUserRepository) LinkCharacterToUserByAuthCode(_param0 string, _param1 *model.User) error
Click to show internal directories.
Click to hide internal directories.