Documentation
¶
Index ¶
- func CreateTables(c context.Context, db app.Database, schema string) error
- type DB
- func (d *DB) AddUserEmailValidationTask(c context.Context, userID, token string) error
- func (d *DB) DeleteMedia(c context.Context, id string) error
- func (d *DB) DoesCharacterNeedRescope(c context.Context, charID int32) (bool, error)
- func (d *DB) FetchLatestPublicTags(c context.Context, display []data.Tag, n int) ([]LatestPublicTagsResult, error)
- func (d *DB) FetchMostRecentlyUpdatedThreads(c context.Context, t data.Tag, n, page int) ([]RecentlyUpdatedThreadResult, error)
- func (d *DB) FetchPaginatedMessagesInThread(c context.Context, id string, n, page int) (ThreadMessages, error)
- func (d *DB) GetAlliance(c context.Context) (int32, error)
- func (d *DB) GetAllianceIcon128(c context.Context, aID int32) (image.Image, time.Time, error)
- func (d *DB) GetAllianceIcon64(c context.Context, aID int32) (image.Image, time.Time, error)
- func (d *DB) GetAuthoritativeCharacter(c context.Context) (int32, error)
- func (d *DB) GetCharacterPortrait128(c context.Context, charID int32) (image.Image, time.Time, error)
- func (d *DB) GetCharacterPortrait256(c context.Context, charID int32) (image.Image, time.Time, error)
- func (d *DB) GetCharacterPortrait512(c context.Context, charID int32) (image.Image, time.Time, error)
- func (d *DB) GetCharacterPortrait64(c context.Context, charID int32) (image.Image, time.Time, error)
- func (d *DB) GetCorpIcon128(c context.Context, corpID int32) (image.Image, time.Time, error)
- func (d *DB) GetCorpIcon256(c context.Context, corpID int32) (image.Image, time.Time, error)
- func (d *DB) GetCorpIcon64(c context.Context, corpID int32) (image.Image, time.Time, error)
- func (d *DB) GetCorpName() string
- func (d *DB) GetCorporationManaged(c context.Context) (int32, error)
- func (d *DB) GetEnabledFeatureIDs(c context.Context) (ids []string, err error)
- func (d *DB) GetEveCharactersForUser(c context.Context, userID string) (ids []int32, shouldRescope []bool, err error)
- func (d *DB) GetEvePublicKeys(c context.Context) (*esi.OAuthKeysMetadata, error)
- func (d *DB) GetEveToken(c context.Context, charID int32) (*esi.Tokens, error)
- func (d *DB) GetExecutor(c context.Context) (int32, error)
- func (d *DB) GetExpiringEveTokensWithin(c context.Context, period time.Duration) ([]*UserToken, error)
- func (d *DB) GetMedia(c context.Context, id string) (name, contentType string, b []byte, err error)
- func (d *DB) HasCharacterForUser(c context.Context, userID string, charID int32) (bool, error)
- func (d *DB) InsertMedia(c context.Context, name, contentType string, media []byte) (string, error)
- func (d *DB) IsUserVerified(c context.Context, userID string) (bool, error)
- func (d *DB) MarkAllTokensNeedRescope(c context.Context) error
- func (d *DB) MarkUserValidationEmailSent(c context.Context, userID string) error
- func (d *DB) MarkUserVerified(c context.Context, token string) error
- func (d *DB) SetAlliance(c context.Context, v int32) error
- func (d *DB) SetAllianceIcon128(c context.Context, aID int32, i image.Image, expires time.Time) error
- func (d *DB) SetAllianceIcon64(c context.Context, aID int32, i image.Image, expires time.Time) error
- func (d *DB) SetAuthoritativeCharacter(c context.Context, v int32) error
- func (d *DB) SetCharacterPortrait128(c context.Context, charID int32, i image.Image, expires time.Time) error
- func (d *DB) SetCharacterPortrait256(c context.Context, charID int32, i image.Image, expires time.Time) error
- func (d *DB) SetCharacterPortrait512(c context.Context, charID int32, i image.Image, expires time.Time) error
- func (d *DB) SetCharacterPortrait64(c context.Context, charID int32, i image.Image, expires time.Time) error
- func (d *DB) SetCorpIcon128(c context.Context, corpID int32, i image.Image, expires time.Time) error
- func (d *DB) SetCorpIcon256(c context.Context, corpID int32, i image.Image, expires time.Time) error
- func (d *DB) SetCorpIcon64(c context.Context, corpID int32, i image.Image, expires time.Time) error
- func (d *DB) SetCorporationManaged(c context.Context, v int32) error
- func (d *DB) SetEvePublicKeys(c context.Context, o esi.OAuthKeysMetadata) error
- func (d *DB) SetEveTokens(c context.Context, userID string, t *esi.Tokens) error
- func (d *DB) SetExecutor(c context.Context, v int32) error
- func (d *DB) SetFeaturesEnabledDisabled(c context.Context, enableIDs, disableIDs []string) error
- type LatestPublicTagsResult
- type RecentlyUpdatedThreadResult
- type ThreadMessages
- type UserToken
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) AddUserEmailValidationTask ¶
func (*DB) DoesCharacterNeedRescope ¶
func (*DB) FetchLatestPublicTags ¶
func (*DB) FetchMostRecentlyUpdatedThreads ¶
func (*DB) FetchPaginatedMessagesInThread ¶
func (*DB) GetAllianceIcon128 ¶
func (*DB) GetAllianceIcon64 ¶
func (*DB) GetAuthoritativeCharacter ¶
func (*DB) GetCharacterPortrait128 ¶
func (*DB) GetCharacterPortrait256 ¶
func (*DB) GetCharacterPortrait512 ¶
func (*DB) GetCharacterPortrait64 ¶
func (*DB) GetCorpIcon128 ¶
func (*DB) GetCorpIcon256 ¶
func (*DB) GetCorpIcon64 ¶
func (*DB) GetCorpName ¶
func (*DB) GetCorporationManaged ¶
func (*DB) GetEnabledFeatureIDs ¶
func (*DB) GetEveCharactersForUser ¶
func (*DB) GetEvePublicKeys ¶
func (*DB) GetEveToken ¶
func (*DB) GetExpiringEveTokensWithin ¶
func (*DB) HasCharacterForUser ¶
func (*DB) InsertMedia ¶
func (*DB) IsUserVerified ¶
func (*DB) MarkAllTokensNeedRescope ¶
func (*DB) MarkUserValidationEmailSent ¶
func (*DB) SetAllianceIcon128 ¶
func (*DB) SetAllianceIcon64 ¶
func (*DB) SetAuthoritativeCharacter ¶
func (*DB) SetCharacterPortrait128 ¶
func (*DB) SetCharacterPortrait256 ¶
func (*DB) SetCharacterPortrait512 ¶
func (*DB) SetCharacterPortrait64 ¶
func (*DB) SetCorpIcon128 ¶
func (*DB) SetCorpIcon256 ¶
func (*DB) SetCorpIcon64 ¶
func (*DB) SetCorporationManaged ¶
func (*DB) SetEvePublicKeys ¶
func (*DB) SetEveTokens ¶
type LatestPublicTagsResult ¶
type ThreadMessages ¶
Click to show internal directories.
Click to hide internal directories.