Documentation ¶
Overview ¶
Package sqlite contains the logic for storing application data into a local SQLite database.
Index ¶
- Variables
- func EveMoonFromDBModel(p queries.EveMoon, ess *app.EveSolarSystem) *app.EveMoon
- func InitDB(dsn string) (*sql.DB, error)
- func NewNullFloat64(v float64) sql.NullFloat64
- func NewNullInt32(v int32) sql.NullInt32
- func NewNullInt64(v int64) sql.NullInt64
- func NewNullString(v string) sql.NullString
- func NewNullTime(v time.Time) sql.NullTime
- type CharacterSectionStatusParams
- type CreateCharacterAssetParams
- type CreateCharacterImplantParams
- type CreateCharacterJumpCloneParams
- type CreateCharacterMailParams
- type CreateCharacterNotificationParams
- type CreateCharacterWalletJournalEntryParams
- type CreateCharacterWalletTransactionParams
- type CreateEveCategoryParams
- type CreateEveCharacterParams
- type CreateEveConstellationParams
- type CreateEveDogmaAttributeParams
- type CreateEveGroupParams
- type CreateEveMoonParams
- type CreateEvePlanetParams
- type CreateEveRegionParams
- type CreateEveSolarSystemParams
- type CreateEveTypeDogmaAttributeParams
- type CreateEveTypeDogmaEffectParams
- type CreateEveTypeParams
- type CreateShipSkillParams
- type MailLabelParams
- type SkillqueueItemParams
- type Storage
- func (st *Storage) CalcCharacterNotificationUnreadCounts(ctx context.Context, characterID int32) (map[string]int, error)
- func (st *Storage) CalculateCharacterAssetTotalValue(ctx context.Context, characterID int32) (float64, error)
- func (st *Storage) CreateCharacterAsset(ctx context.Context, arg CreateCharacterAssetParams) error
- func (st *Storage) CreateCharacterImplant(ctx context.Context, arg CreateCharacterImplantParams) error
- func (st *Storage) CreateCharacterJumpClone(ctx context.Context, arg CreateCharacterJumpCloneParams) error
- func (st *Storage) CreateCharacterMail(ctx context.Context, arg CreateCharacterMailParams) (int64, error)
- func (st *Storage) CreateCharacterMailList(ctx context.Context, characterID, mailListID int32) error
- func (st *Storage) CreateCharacterNotification(ctx context.Context, arg CreateCharacterNotificationParams) error
- func (st *Storage) CreateCharacterWalletJournalEntry(ctx context.Context, arg CreateCharacterWalletJournalEntryParams) error
- func (st *Storage) CreateCharacterWalletTransaction(ctx context.Context, arg CreateCharacterWalletTransactionParams) error
- func (st *Storage) CreateEveCategory(ctx context.Context, arg CreateEveCategoryParams) (*app.EveCategory, error)
- func (st *Storage) CreateEveCharacter(ctx context.Context, arg CreateEveCharacterParams) error
- func (st *Storage) CreateEveConstellation(ctx context.Context, arg CreateEveConstellationParams) error
- func (st *Storage) CreateEveDogmaAttribute(ctx context.Context, arg CreateEveDogmaAttributeParams) (*app.EveDogmaAttribute, error)
- func (st *Storage) CreateEveEntity(ctx context.Context, id int32, name string, category app.EveEntityCategory) (*app.EveEntity, error)
- func (st *Storage) CreateEveGroup(ctx context.Context, arg CreateEveGroupParams) error
- func (st *Storage) CreateEveMoon(ctx context.Context, arg CreateEveMoonParams) error
- func (st *Storage) CreateEvePlanet(ctx context.Context, arg CreateEvePlanetParams) error
- func (st *Storage) CreateEveRace(ctx context.Context, id int32, description, name string) (*app.EveRace, error)
- func (st *Storage) CreateEveRegion(ctx context.Context, arg CreateEveRegionParams) (*app.EveRegion, error)
- func (st *Storage) CreateEveShipSkill(ctx context.Context, arg CreateShipSkillParams) error
- func (st *Storage) CreateEveSolarSystem(ctx context.Context, arg CreateEveSolarSystemParams) error
- func (st *Storage) CreateEveType(ctx context.Context, arg CreateEveTypeParams) error
- func (st *Storage) CreateEveTypeDogmaAttribute(ctx context.Context, arg CreateEveTypeDogmaAttributeParams) error
- func (st *Storage) CreateEveTypeDogmaEffect(ctx context.Context, arg CreateEveTypeDogmaEffectParams) error
- func (st *Storage) CreateSkillqueueItem(ctx context.Context, arg SkillqueueItemParams) error
- func (st *Storage) DeleteCharacter(ctx context.Context, characterID int32) error
- func (st *Storage) DeleteCharacterMail(ctx context.Context, characterID, mailID int32) error
- func (st *Storage) DeleteEveCharacter(ctx context.Context, characterID int32) error
- func (st *Storage) DeleteExcludedCharacterAssets(ctx context.Context, characterID int32, itemIDs []int64) error
- func (st *Storage) DeleteExcludedCharacterSkills(ctx context.Context, characterID int32, eveTypeIDs []int32) error
- func (st *Storage) DeleteObsoleteCharacterMailLabels(ctx context.Context, characterID int32) error
- func (st *Storage) DeleteObsoleteCharacterMailLists(ctx context.Context, characterID int32) error
- func (st *Storage) GetCharacter(ctx context.Context, characterID int32) (*app.Character, error)
- func (st *Storage) GetCharacterAsset(ctx context.Context, characterID int32, itemID int64) (*app.CharacterAsset, error)
- func (st *Storage) GetCharacterAssetValue(ctx context.Context, characterID int32) (optional.Optional[float64], error)
- func (st *Storage) GetCharacterAttributes(ctx context.Context, characterID int32) (*app.CharacterAttributes, error)
- func (st *Storage) GetCharacterImplant(ctx context.Context, characterID int32, typeID int32) (*app.CharacterImplant, error)
- func (st *Storage) GetCharacterJumpClone(ctx context.Context, characterID int32, jumpCloneID int32) (*app.CharacterJumpClone, error)
- func (st *Storage) GetCharacterMail(ctx context.Context, characterID, mailID int32) (*app.CharacterMail, error)
- func (st *Storage) GetCharacterMailCount(ctx context.Context, characterID int32) (int, error)
- func (st *Storage) GetCharacterMailLabel(ctx context.Context, characterID, labelID int32) (*app.CharacterMailLabel, error)
- func (st *Storage) GetCharacterMailLabelUnreadCounts(ctx context.Context, characterID int32) (map[int32]int, error)
- func (st *Storage) GetCharacterMailListUnreadCounts(ctx context.Context, characterID int32) (map[int32]int, error)
- func (st *Storage) GetCharacterMailUnreadCount(ctx context.Context, characterID int32) (int, error)
- func (st *Storage) GetCharacterNotification(ctx context.Context, characterID int32, notificationID int64) (*app.CharacterNotification, error)
- func (st *Storage) GetCharacterSectionStatus(ctx context.Context, characterID int32, section app.CharacterSection) (*app.CharacterSectionStatus, error)
- func (st *Storage) GetCharacterSkill(ctx context.Context, characterID int32, typeID int32) (*app.CharacterSkill, error)
- func (st *Storage) GetCharacterToken(ctx context.Context, characterID int32) (*app.CharacterToken, error)
- func (st *Storage) GetCharacterWalletJournalEntry(ctx context.Context, characterID int32, refID int64) (*app.CharacterWalletJournalEntry, error)
- func (st *Storage) GetCharacterWalletTransaction(ctx context.Context, characterID int32, transactionID int64) (*app.CharacterWalletTransaction, error)
- func (st *Storage) GetEveCategory(ctx context.Context, id int32) (*app.EveCategory, error)
- func (st *Storage) GetEveCharacter(ctx context.Context, characterID int32) (*app.EveCharacter, error)
- func (st *Storage) GetEveConstellation(ctx context.Context, id int32) (*app.EveConstellation, error)
- func (st *Storage) GetEveDogmaAttribute(ctx context.Context, id int32) (*app.EveDogmaAttribute, error)
- func (st *Storage) GetEveEntity(ctx context.Context, id int32) (*app.EveEntity, error)
- func (st *Storage) GetEveGroup(ctx context.Context, id int32) (*app.EveGroup, error)
- func (st *Storage) GetEveLocation(ctx context.Context, id int64) (*app.EveLocation, error)
- func (st *Storage) GetEveMarketPrice(ctx context.Context, typeID int32) (*app.EveMarketPrice, error)
- func (st *Storage) GetEveMoon(ctx context.Context, id int32) (*app.EveMoon, error)
- func (st *Storage) GetEvePlanet(ctx context.Context, id int32) (*app.EvePlanet, error)
- func (st *Storage) GetEveRace(ctx context.Context, id int32) (*app.EveRace, error)
- func (st *Storage) GetEveRegion(ctx context.Context, id int32) (*app.EveRegion, error)
- func (st *Storage) GetEveShipSkill(ctx context.Context, shipTypeID int32, rank uint) (*app.EveShipSkill, error)
- func (st *Storage) GetEveSolarSystem(ctx context.Context, id int32) (*app.EveSolarSystem, error)
- func (st *Storage) GetEveType(ctx context.Context, id int32) (*app.EveType, error)
- func (st *Storage) GetEveTypeDogmaAttribute(ctx context.Context, eveTypeID, dogmaAttributeID int32) (float32, error)
- func (st *Storage) GetEveTypeDogmaEffect(ctx context.Context, eveTypeID, dogmaAttributeID int32) (bool, error)
- func (st *Storage) GetFirstCharacter(ctx context.Context) (*app.Character, error)
- func (st *Storage) GetGeneralSectionStatus(ctx context.Context, section app.GeneralSection) (*app.GeneralSectionStatus, error)
- func (st *Storage) GetOrCreateCharacterMailLabel(ctx context.Context, arg MailLabelParams) (*app.CharacterMailLabel, error)
- func (st *Storage) GetOrCreateEveEntity(ctx context.Context, id int32, name string, category app.EveEntityCategory) (*app.EveEntity, error)
- func (st *Storage) GetOrCreateNotificationType(ctx context.Context, name string) (int64, error)
- func (st *Storage) GetSkillqueueItem(ctx context.Context, characterID int32, pos int) (*app.CharacterSkillqueueItem, error)
- func (st *Storage) GetTotalTrainingTime(ctx context.Context, characterID int32) (optional.Optional[time.Duration], error)
- func (st *Storage) ListAllCharacterAssets(ctx context.Context) ([]*app.CharacterAsset, error)
- func (st *Storage) ListCharacterAssetIDs(ctx context.Context, characterID int32) ([]int64, error)
- func (st *Storage) ListCharacterAssets(ctx context.Context, characterID int32) ([]*app.CharacterAsset, error)
- func (st *Storage) ListCharacterAssetsInItemHangar(ctx context.Context, characterID int32, locationID int64) ([]*app.CharacterAsset, error)
- func (st *Storage) ListCharacterAssetsInLocation(ctx context.Context, characterID int32, locationID int64) ([]*app.CharacterAsset, error)
- func (st *Storage) ListCharacterAssetsInShipHangar(ctx context.Context, characterID int32, locationID int64) ([]*app.CharacterAsset, error)
- func (st *Storage) ListCharacterIDs(ctx context.Context) ([]int32, error)
- func (st *Storage) ListCharacterImplants(ctx context.Context, characterID int32) ([]*app.CharacterImplant, error)
- func (st *Storage) ListCharacterJumpClones(ctx context.Context, characterID int32) ([]*app.CharacterJumpClone, error)
- func (st *Storage) ListCharacterMailHeadersForLabelOrdered(ctx context.Context, characterID int32, labelID int32) ([]*app.CharacterMailHeader, error)
- func (st *Storage) ListCharacterMailHeadersForListOrdered(ctx context.Context, characterID int32, listID int32) ([]*app.CharacterMailHeader, error)
- func (st *Storage) ListCharacterMailHeadersForUnprocessed(ctx context.Context, characterID int32) ([]*app.CharacterMailHeader, error)
- func (st *Storage) ListCharacterMailIDs(ctx context.Context, characterID int32) ([]int32, error)
- func (st *Storage) ListCharacterMailLabelsOrdered(ctx context.Context, characterID int32) ([]*app.CharacterMailLabel, error)
- func (st *Storage) ListCharacterMailListsOrdered(ctx context.Context, characterID int32) ([]*app.EveEntity, error)
- func (st *Storage) ListCharacterNotificationIDs(ctx context.Context, characterID int32) ([]int64, error)
- func (st *Storage) ListCharacterNotificationsTypes(ctx context.Context, characterID int32, types []string) ([]*app.CharacterNotification, error)
- func (st *Storage) ListCharacterNotificationsUnprocessed(ctx context.Context, characterID int32) ([]*app.CharacterNotification, error)
- func (st *Storage) ListCharacterNotificationsUnread(ctx context.Context, characterID int32) ([]*app.CharacterNotification, error)
- func (st *Storage) ListCharacterSectionStatus(ctx context.Context, characterID int32) ([]*app.CharacterSectionStatus, error)
- func (st *Storage) ListCharacterShipSkills(ctx context.Context, characterID, shipTypeID int32) ([]*app.CharacterShipSkill, error)
- func (st *Storage) ListCharacterShipsAbilities(ctx context.Context, characterID int32, search string) ([]*app.CharacterShipAbility, error)
- func (st *Storage) ListCharacterSkillGroupsProgress(ctx context.Context, characterID int32) ([]app.ListCharacterSkillGroupProgress, error)
- func (st *Storage) ListCharacterSkillProgress(ctx context.Context, characterID, eveGroupID int32) ([]app.ListCharacterSkillProgress, error)
- func (st *Storage) ListCharacterWalletJournalEntries(ctx context.Context, characterID int32) ([]*app.CharacterWalletJournalEntry, error)
- func (st *Storage) ListCharacterWalletJournalEntryIDs(ctx context.Context, characterID int32) ([]int64, error)
- func (st *Storage) ListCharacterWalletTransactionIDs(ctx context.Context, characterID int32) ([]int64, error)
- func (st *Storage) ListCharacterWalletTransactions(ctx context.Context, characterID int32) ([]*app.CharacterWalletTransaction, error)
- func (st *Storage) ListCharacters(ctx context.Context) ([]*app.Character, error)
- func (st *Storage) ListCharactersShort(ctx context.Context) ([]*app.CharacterShort, error)
- func (st *Storage) ListEveCharacterIDs(ctx context.Context) ([]int32, error)
- func (st *Storage) ListEveEntitiesByName(ctx context.Context, name string) ([]*app.EveEntity, error)
- func (st *Storage) ListEveEntitiesByPartialName(ctx context.Context, partial string) ([]*app.EveEntity, error)
- func (st *Storage) ListEveEntityByNameAndCategory(ctx context.Context, name string, category app.EveEntityCategory) ([]*app.EveEntity, error)
- func (st *Storage) ListEveEntityIDs(ctx context.Context) ([]int32, error)
- func (st *Storage) ListEveLocation(ctx context.Context) ([]*app.EveLocation, error)
- func (st *Storage) ListEveShipSkills(ctx context.Context, shipTypeID int32) ([]*app.EveShipSkill, error)
- func (st *Storage) ListEveTypeDogmaAttributesForType(ctx context.Context, typeID int32) ([]*app.EveDogmaAttributeForType, error)
- func (st *Storage) ListGeneralSectionStatus(ctx context.Context) ([]*app.GeneralSectionStatus, error)
- func (st *Storage) ListSkillqueueItems(ctx context.Context, characterID int32) ([]*app.CharacterSkillqueueItem, error)
- func (st *Storage) MissingEveEntityIDs(ctx context.Context, ids []int32) (*set.Set[int32], error)
- func (st *Storage) MissingEveLocations(ctx context.Context, ids []int64) ([]int64, error)
- func (st *Storage) MissingEveTypes(ctx context.Context, ids []int32) ([]int32, error)
- func (st *Storage) ReplaceCharacterImplants(ctx context.Context, characterID int32, args []CreateCharacterImplantParams) error
- func (st *Storage) ReplaceCharacterJumpClones(ctx context.Context, characterID int32, args []CreateCharacterJumpCloneParams) error
- func (st *Storage) ReplaceCharacterSkillqueueItems(ctx context.Context, characterID int32, args []SkillqueueItemParams) error
- func (st *Storage) UpdateCharacterAsset(ctx context.Context, arg UpdateCharacterAssetParams) error
- func (st *Storage) UpdateCharacterAssetValue(ctx context.Context, characterID int32, v optional.Optional[float64]) error
- func (st *Storage) UpdateCharacterHome(ctx context.Context, characterID int32, homeID optional.Optional[int64]) error
- func (st *Storage) UpdateCharacterLastLoginAt(ctx context.Context, characterID int32, v optional.Optional[time.Time]) error
- func (st *Storage) UpdateCharacterLocation(ctx context.Context, characterID int32, locationID optional.Optional[int64]) error
- func (st *Storage) UpdateCharacterMail(ctx context.Context, characterID int32, mailPK int64, isRead bool, ...) error
- func (st *Storage) UpdateCharacterMailSetProcessed(ctx context.Context, id int64) error
- func (st *Storage) UpdateCharacterNotification(ctx context.Context, arg UpdateCharacterNotificationParams) error
- func (st *Storage) UpdateCharacterNotificationSetProcessed(ctx context.Context, id int64) error
- func (st *Storage) UpdateCharacterShip(ctx context.Context, characterID int32, shipID optional.Optional[int32]) error
- func (st *Storage) UpdateCharacterSkillPoints(ctx context.Context, characterID int32, ...) error
- func (st *Storage) UpdateCharacterWalletBalance(ctx context.Context, characterID int32, v optional.Optional[float64]) error
- func (st *Storage) UpdateEveCharacter(ctx context.Context, c *app.EveCharacter) error
- func (st *Storage) UpdateEveShipSkills(ctx context.Context) error
- func (st *Storage) UpdateOrCreateCharacter(ctx context.Context, arg UpdateOrCreateCharacterParams) error
- func (st *Storage) UpdateOrCreateCharacterAttributes(ctx context.Context, arg UpdateOrCreateCharacterAttributesParams) error
- func (st *Storage) UpdateOrCreateCharacterMailLabel(ctx context.Context, arg MailLabelParams) (*app.CharacterMailLabel, error)
- func (st *Storage) UpdateOrCreateCharacterSectionStatus(ctx context.Context, arg UpdateOrCreateCharacterSectionStatusParams) (*app.CharacterSectionStatus, error)
- func (st *Storage) UpdateOrCreateCharacterSkill(ctx context.Context, arg UpdateOrCreateCharacterSkillParams) error
- func (st *Storage) UpdateOrCreateCharacterToken(ctx context.Context, t *app.CharacterToken) error
- func (st *Storage) UpdateOrCreateEveEntity(ctx context.Context, id int32, name string, category app.EveEntityCategory) (*app.EveEntity, error)
- func (st *Storage) UpdateOrCreateEveLocation(ctx context.Context, arg UpdateOrCreateLocationParams) error
- func (st *Storage) UpdateOrCreateEveMarketPrice(ctx context.Context, arg UpdateOrCreateEveMarketPriceParams) error
- func (st *Storage) UpdateOrCreateGeneralSectionStatus(ctx context.Context, arg UpdateOrCreateGeneralSectionStatusParams) (*app.GeneralSectionStatus, error)
- type UpdateCharacterAssetParams
- type UpdateCharacterNotificationParams
- type UpdateOrCreateCharacterAttributesParams
- type UpdateOrCreateCharacterParams
- type UpdateOrCreateCharacterSectionStatusParams
- type UpdateOrCreateCharacterSkillParams
- type UpdateOrCreateEveMarketPriceParams
- type UpdateOrCreateGeneralSectionStatusParams
- type UpdateOrCreateLocationParams
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("object not found")
Functions ¶
func EveMoonFromDBModel ¶
func NewNullFloat64 ¶
func NewNullFloat64(v float64) sql.NullFloat64
func NewNullInt32 ¶
func NewNullInt64 ¶
func NewNullString ¶
func NewNullString(v string) sql.NullString
Types ¶
type CreateEveCategoryParams ¶
type CreateEveGroupParams ¶
type CreateEveMoonParams ¶
type CreateEvePlanetParams ¶
type CreateEveRegionParams ¶
type CreateEveTypeParams ¶
type CreateShipSkillParams ¶
type MailLabelParams ¶
type SkillqueueItemParams ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) CalcCharacterNotificationUnreadCounts ¶
func (*Storage) CalculateCharacterAssetTotalValue ¶
func (*Storage) CreateCharacterAsset ¶
func (st *Storage) CreateCharacterAsset(ctx context.Context, arg CreateCharacterAssetParams) error
func (*Storage) CreateCharacterImplant ¶
func (st *Storage) CreateCharacterImplant(ctx context.Context, arg CreateCharacterImplantParams) error
func (*Storage) CreateCharacterJumpClone ¶
func (st *Storage) CreateCharacterJumpClone(ctx context.Context, arg CreateCharacterJumpCloneParams) error
func (*Storage) CreateCharacterMail ¶
func (*Storage) CreateCharacterMailList ¶
func (*Storage) CreateCharacterNotification ¶
func (st *Storage) CreateCharacterNotification(ctx context.Context, arg CreateCharacterNotificationParams) error
func (*Storage) CreateCharacterWalletJournalEntry ¶
func (st *Storage) CreateCharacterWalletJournalEntry(ctx context.Context, arg CreateCharacterWalletJournalEntryParams) error
func (*Storage) CreateCharacterWalletTransaction ¶
func (st *Storage) CreateCharacterWalletTransaction(ctx context.Context, arg CreateCharacterWalletTransactionParams) error
func (*Storage) CreateEveCategory ¶
func (st *Storage) CreateEveCategory(ctx context.Context, arg CreateEveCategoryParams) (*app.EveCategory, error)
func (*Storage) CreateEveCharacter ¶
func (st *Storage) CreateEveCharacter(ctx context.Context, arg CreateEveCharacterParams) error
func (*Storage) CreateEveConstellation ¶
func (st *Storage) CreateEveConstellation(ctx context.Context, arg CreateEveConstellationParams) error
func (*Storage) CreateEveDogmaAttribute ¶
func (st *Storage) CreateEveDogmaAttribute(ctx context.Context, arg CreateEveDogmaAttributeParams) (*app.EveDogmaAttribute, error)
func (*Storage) CreateEveEntity ¶
func (*Storage) CreateEveGroup ¶
func (st *Storage) CreateEveGroup(ctx context.Context, arg CreateEveGroupParams) error
func (*Storage) CreateEveMoon ¶
func (st *Storage) CreateEveMoon(ctx context.Context, arg CreateEveMoonParams) error
func (*Storage) CreateEvePlanet ¶
func (st *Storage) CreateEvePlanet(ctx context.Context, arg CreateEvePlanetParams) error
func (*Storage) CreateEveRace ¶
func (*Storage) CreateEveRegion ¶
func (*Storage) CreateEveShipSkill ¶
func (st *Storage) CreateEveShipSkill(ctx context.Context, arg CreateShipSkillParams) error
func (*Storage) CreateEveSolarSystem ¶
func (st *Storage) CreateEveSolarSystem(ctx context.Context, arg CreateEveSolarSystemParams) error
func (*Storage) CreateEveType ¶
func (st *Storage) CreateEveType(ctx context.Context, arg CreateEveTypeParams) error
func (*Storage) CreateEveTypeDogmaAttribute ¶
func (st *Storage) CreateEveTypeDogmaAttribute(ctx context.Context, arg CreateEveTypeDogmaAttributeParams) error
func (*Storage) CreateEveTypeDogmaEffect ¶
func (st *Storage) CreateEveTypeDogmaEffect(ctx context.Context, arg CreateEveTypeDogmaEffectParams) error
func (*Storage) CreateSkillqueueItem ¶
func (st *Storage) CreateSkillqueueItem(ctx context.Context, arg SkillqueueItemParams) error
func (*Storage) DeleteCharacter ¶
func (*Storage) DeleteCharacterMail ¶
func (*Storage) DeleteEveCharacter ¶
func (*Storage) DeleteExcludedCharacterAssets ¶
func (*Storage) DeleteExcludedCharacterSkills ¶
func (*Storage) DeleteObsoleteCharacterMailLabels ¶
func (*Storage) DeleteObsoleteCharacterMailLists ¶
func (*Storage) GetCharacter ¶
func (*Storage) GetCharacterAsset ¶
func (*Storage) GetCharacterAssetValue ¶
func (*Storage) GetCharacterAttributes ¶
func (*Storage) GetCharacterImplant ¶
func (*Storage) GetCharacterJumpClone ¶
func (*Storage) GetCharacterMail ¶
func (*Storage) GetCharacterMailCount ¶
func (*Storage) GetCharacterMailLabel ¶
func (*Storage) GetCharacterMailLabelUnreadCounts ¶
func (*Storage) GetCharacterMailListUnreadCounts ¶
func (*Storage) GetCharacterMailUnreadCount ¶
func (*Storage) GetCharacterNotification ¶
func (*Storage) GetCharacterSectionStatus ¶
func (st *Storage) GetCharacterSectionStatus(ctx context.Context, characterID int32, section app.CharacterSection) (*app.CharacterSectionStatus, error)
func (*Storage) GetCharacterSkill ¶
func (*Storage) GetCharacterToken ¶
func (*Storage) GetCharacterWalletJournalEntry ¶
func (*Storage) GetCharacterWalletTransaction ¶
func (*Storage) GetEveCategory ¶
func (*Storage) GetEveCharacter ¶
func (*Storage) GetEveConstellation ¶
func (*Storage) GetEveDogmaAttribute ¶
func (*Storage) GetEveEntity ¶
func (*Storage) GetEveGroup ¶
func (*Storage) GetEveLocation ¶
func (*Storage) GetEveMarketPrice ¶
func (*Storage) GetEveMoon ¶
func (*Storage) GetEvePlanet ¶
func (*Storage) GetEveRace ¶
func (*Storage) GetEveRegion ¶
func (*Storage) GetEveShipSkill ¶
func (*Storage) GetEveSolarSystem ¶
func (*Storage) GetEveType ¶
func (*Storage) GetEveTypeDogmaAttribute ¶
func (*Storage) GetEveTypeDogmaEffect ¶
func (*Storage) GetFirstCharacter ¶
func (*Storage) GetGeneralSectionStatus ¶
func (st *Storage) GetGeneralSectionStatus(ctx context.Context, section app.GeneralSection) (*app.GeneralSectionStatus, error)
func (*Storage) GetOrCreateCharacterMailLabel ¶
func (st *Storage) GetOrCreateCharacterMailLabel(ctx context.Context, arg MailLabelParams) (*app.CharacterMailLabel, error)
func (*Storage) GetOrCreateEveEntity ¶
func (*Storage) GetOrCreateNotificationType ¶
func (*Storage) GetSkillqueueItem ¶
func (*Storage) GetTotalTrainingTime ¶
func (*Storage) ListAllCharacterAssets ¶
func (*Storage) ListCharacterAssetIDs ¶
func (*Storage) ListCharacterAssets ¶
func (*Storage) ListCharacterAssetsInItemHangar ¶
func (*Storage) ListCharacterAssetsInLocation ¶
func (*Storage) ListCharacterAssetsInShipHangar ¶
func (*Storage) ListCharacterIDs ¶
func (*Storage) ListCharacterImplants ¶
func (*Storage) ListCharacterJumpClones ¶
func (*Storage) ListCharacterMailHeadersForLabelOrdered ¶
func (st *Storage) ListCharacterMailHeadersForLabelOrdered(ctx context.Context, characterID int32, labelID int32) ([]*app.CharacterMailHeader, error)
ListMailsForLabel returns a character's mails for a label in descending order by timestamp. Return mails for all labels, when labelID = 0
func (*Storage) ListCharacterMailHeadersForListOrdered ¶
func (*Storage) ListCharacterMailHeadersForUnprocessed ¶
func (*Storage) ListCharacterMailIDs ¶
func (*Storage) ListCharacterMailLabelsOrdered ¶
func (*Storage) ListCharacterMailListsOrdered ¶
func (*Storage) ListCharacterNotificationIDs ¶
func (*Storage) ListCharacterNotificationsTypes ¶
func (*Storage) ListCharacterNotificationsUnprocessed ¶
func (*Storage) ListCharacterNotificationsUnread ¶
func (*Storage) ListCharacterSectionStatus ¶
func (*Storage) ListCharacterShipSkills ¶
func (*Storage) ListCharacterShipsAbilities ¶
func (*Storage) ListCharacterSkillGroupsProgress ¶
func (*Storage) ListCharacterSkillProgress ¶
func (*Storage) ListCharacterWalletJournalEntries ¶
func (*Storage) ListCharacterWalletJournalEntryIDs ¶
func (*Storage) ListCharacterWalletTransactionIDs ¶
func (*Storage) ListCharacterWalletTransactions ¶
func (*Storage) ListCharacters ¶
func (*Storage) ListCharactersShort ¶
func (*Storage) ListEveCharacterIDs ¶
func (*Storage) ListEveEntitiesByName ¶
func (*Storage) ListEveEntitiesByPartialName ¶
func (*Storage) ListEveEntityByNameAndCategory ¶
func (*Storage) ListEveEntityIDs ¶
func (*Storage) ListEveLocation ¶
func (*Storage) ListEveShipSkills ¶
func (*Storage) ListEveTypeDogmaAttributesForType ¶
func (*Storage) ListGeneralSectionStatus ¶
func (*Storage) ListSkillqueueItems ¶
func (*Storage) MissingEveEntityIDs ¶
MissingEveEntityIDs returns the IDs, which are have no respective EveEntity in the database. IDs with value 0 are ignored.
func (*Storage) MissingEveLocations ¶
func (*Storage) MissingEveTypes ¶
func (*Storage) ReplaceCharacterImplants ¶
func (*Storage) ReplaceCharacterJumpClones ¶
func (*Storage) ReplaceCharacterSkillqueueItems ¶
func (*Storage) UpdateCharacterAsset ¶
func (st *Storage) UpdateCharacterAsset(ctx context.Context, arg UpdateCharacterAssetParams) error
func (*Storage) UpdateCharacterAssetValue ¶
func (*Storage) UpdateCharacterHome ¶
func (*Storage) UpdateCharacterLastLoginAt ¶
func (*Storage) UpdateCharacterLocation ¶
func (*Storage) UpdateCharacterMail ¶
func (*Storage) UpdateCharacterMailSetProcessed ¶
func (*Storage) UpdateCharacterNotification ¶
func (st *Storage) UpdateCharacterNotification(ctx context.Context, arg UpdateCharacterNotificationParams) error
func (*Storage) UpdateCharacterNotificationSetProcessed ¶
func (*Storage) UpdateCharacterShip ¶
func (*Storage) UpdateCharacterSkillPoints ¶
func (*Storage) UpdateCharacterWalletBalance ¶
func (*Storage) UpdateEveCharacter ¶
func (*Storage) UpdateEveShipSkills ¶
func (*Storage) UpdateOrCreateCharacter ¶
func (st *Storage) UpdateOrCreateCharacter(ctx context.Context, arg UpdateOrCreateCharacterParams) error
func (*Storage) UpdateOrCreateCharacterAttributes ¶
func (st *Storage) UpdateOrCreateCharacterAttributes(ctx context.Context, arg UpdateOrCreateCharacterAttributesParams) error
func (*Storage) UpdateOrCreateCharacterMailLabel ¶
func (st *Storage) UpdateOrCreateCharacterMailLabel(ctx context.Context, arg MailLabelParams) (*app.CharacterMailLabel, error)
func (*Storage) UpdateOrCreateCharacterSectionStatus ¶
func (st *Storage) UpdateOrCreateCharacterSectionStatus(ctx context.Context, arg UpdateOrCreateCharacterSectionStatusParams) (*app.CharacterSectionStatus, error)
func (*Storage) UpdateOrCreateCharacterSkill ¶
func (st *Storage) UpdateOrCreateCharacterSkill(ctx context.Context, arg UpdateOrCreateCharacterSkillParams) error
func (*Storage) UpdateOrCreateCharacterToken ¶
func (*Storage) UpdateOrCreateEveEntity ¶
func (*Storage) UpdateOrCreateEveLocation ¶
func (st *Storage) UpdateOrCreateEveLocation(ctx context.Context, arg UpdateOrCreateLocationParams) error
func (*Storage) UpdateOrCreateEveMarketPrice ¶
func (st *Storage) UpdateOrCreateEveMarketPrice(ctx context.Context, arg UpdateOrCreateEveMarketPriceParams) error
func (*Storage) UpdateOrCreateGeneralSectionStatus ¶
func (st *Storage) UpdateOrCreateGeneralSectionStatus(ctx context.Context, arg UpdateOrCreateGeneralSectionStatusParams) (*app.GeneralSectionStatus, error)
type UpdateOrCreateCharacterParams ¶
type UpdateOrCreateCharacterParams struct { AssetValue optional.Optional[float64] ID int32 HomeID optional.Optional[int64] LastLoginAt optional.Optional[time.Time] LocationID optional.Optional[int64] ShipID optional.Optional[int32] TotalSP optional.Optional[int] UnallocatedSP optional.Optional[int] WalletBalance optional.Optional[float64] }
Source Files ¶
- character.go
- characterasset.go
- characterattributes.go
- characterimplant.go
- characterjumpclone.go
- charactermail.go
- charactermailheader.go
- charactermaillabel.go
- charactermaillist.go
- characternotification.go
- charactersectionstatus.go
- charactershipskill.go
- characterskill.go
- characterskillqueueitem.go
- charactertoken.go
- characterwalletjournal.go
- characterwallettransaction.go
- evecategory.go
- evecharacter.go
- eveconstellation.go
- evedogmatattribute.go
- eveentity.go
- evegroup.go
- evelocation.go
- evemarketprice.go
- evemoon.go
- eveplanet.go
- everace.go
- everegion.go
- eveshipskill.go
- evesolarsystem.go
- evetype.go
- evetypedogmaattribute.go
- evetypedogmaeffect.go
- generalsectionstatus.go
- nulltypes.go
- slices.go
- storage.go
Click to show internal directories.
Click to hide internal directories.