Documentation ¶
Overview ¶
FIX: I don't even know right now. Will circle back. -brian
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
Types ¶
type AccessesRepository ¶
type AccessesRepository interface { FindByChatId(chatId string) ([]string, error) GetMembership() (members []membership, err error) }
var AccessRepo AccessesRepository
type AllianceRepository ¶
type AllianceRepository interface { Save(alliance *model.Alliance) error FindByAllianceId(allianceId int64) *model.Alliance FindAll() []*model.Alliance Delete(allianceId int64) error }
var AllianceRepo AllianceRepository
type AuthenticationCodeRepository ¶
type AuthenticationCodeRepository interface {
Save(character *model.Character, authCode string) error
}
var AuthenticationCodeRepo AuthenticationCodeRepository
type CharacterRepository ¶
type CharacterRepository interface { Save(character *model.Character) error FindByCharacterId(characterId int64) *model.Character FindByAutenticationCode(authCode string) *model.Character FindAll() []*model.Character Delete(characterId int64) error }
var CharacterRepo CharacterRepository
type CorporationRepository ¶
type CorporationRepository interface { Save(corporation *model.Corporation) error FindByCorporationId(corporationId int64) *model.Corporation FindAll() []*model.Corporation Delete(corporationId int64) error }
var CorporationRepo CorporationRepository
Click to show internal directories.
Click to hide internal directories.