Documentation ¶
Index ¶
- type AllianceAPI
- type AuthAPI
- type CharacterAPI
- type CloneAPI
- type CorporationAPI
- type EtagAPI
- type Service
- func (s *Service) Alliance(ctx context.Context, allianceID uint) (*skillz.Alliance, error)
- func (s *Service) AuthAttempt(ctx context.Context, state string) (*skillz.AuthAttempt, error)
- func (s *Service) Bloodline(ctx context.Context, bloodlineID uint) (*skillz.Bloodline, error)
- func (s *Service) BustNewUsersBySP(ctx context.Context) error
- func (s *Service) Category(ctx context.Context, id uint) (*skillz.Category, error)
- func (s *Service) Character(ctx context.Context, characterID uint64) (*skillz.Character, error)
- func (s *Service) CharacterAttributes(ctx context.Context, characterID uint64) (*skillz.CharacterAttributes, error)
- func (s *Service) CharacterFlyableShips(ctx context.Context, characterID uint64) ([]*skillz.ShipGroup, error)
- func (s *Service) CharacterGroupedSkillz(ctx context.Context, characterID uint64) ([]*skillz.CharacterSkillGroup, error)
- func (s *Service) CharacterImplants(ctx context.Context, characterID uint64) ([]*skillz.CharacterImplant, error)
- func (s *Service) CharacterSkillMeta(ctx context.Context, characterID uint64) (*skillz.CharacterSkillMeta, error)
- func (s *Service) CharacterSkillQueueSummary(ctx context.Context, characterID uint64) (*skillz.CharacterSkillQueueSummary, error)
- func (s *Service) CharacterSkills(ctx context.Context, characterID uint64) ([]*skillz.CharacterSkill, error)
- func (s *Service) Constellation(ctx context.Context, id uint) (*skillz.Constellation, error)
- func (s *Service) Corporation(ctx context.Context, corporationID uint) (*skillz.Corporation, error)
- func (s *Service) CreateAuthAttempt(ctx context.Context, attempt *skillz.AuthAttempt) error
- func (s *Service) DeleteAuthAttempt(ctx context.Context, attempt *skillz.AuthAttempt) error
- func (s *Service) EtagByPath(ctx context.Context, path string) (*skillz.Etag, error)
- func (s *Service) Faction(ctx context.Context, id uint) (*skillz.Faction, error)
- func (s *Service) Group(ctx context.Context, id uint) (*skillz.Group, error)
- func (s *Service) GroupsByCategoryID(ctx context.Context, id uint) ([]*skillz.Group, error)
- func (s *Service) JSONWebKeySet(ctx context.Context) ([]byte, error)
- func (s *Service) NewUsersBySP(ctx context.Context) ([]*skillz.User, error)
- func (s *Service) Race(ctx context.Context, id uint) (*skillz.Race, error)
- func (s *Service) RecentUsers(ctx context.Context) (*skillz.RecentUsers, error)
- func (s *Service) Region(ctx context.Context, id uint) (*skillz.Region, error)
- func (s *Service) ResetUserCache(ctx context.Context, user *skillz.User) error
- func (s *Service) SaveJSONWebKeySet(ctx context.Context, jwks []byte) error
- func (s *Service) SearchUsers(ctx context.Context, q string) ([]*skillz.UserSearchResult, error)
- func (s *Service) SetAlliance(ctx context.Context, alliance *skillz.Alliance, expires time.Duration) error
- func (s *Service) SetBloodline(ctx context.Context, bloodline *skillz.Bloodline) error
- func (s *Service) SetCategory(ctx context.Context, category *skillz.Category) error
- func (s *Service) SetCharacter(ctx context.Context, character *skillz.Character, expires time.Duration) error
- func (s *Service) SetCharacterAttributes(ctx context.Context, meta *skillz.CharacterAttributes, expires time.Duration) error
- func (s *Service) SetCharacterFlyableShips(ctx context.Context, characterID uint64, flyable []*skillz.ShipGroup, ...) error
- func (s *Service) SetCharacterGroupedSkillz(ctx context.Context, characterID uint64, groups []*skillz.CharacterSkillGroup, ...) error
- func (s *Service) SetCharacterImplants(ctx context.Context, characterID uint64, implants []*skillz.CharacterImplant, ...) error
- func (s *Service) SetCharacterSkillMeta(ctx context.Context, meta *skillz.CharacterSkillMeta, expires time.Duration) error
- func (s *Service) SetCharacterSkillQueueSummary(ctx context.Context, characterID uint64, ...) error
- func (s *Service) SetCharacterSkills(ctx context.Context, characterID uint64, skills []*skillz.CharacterSkill, ...) error
- func (s *Service) SetConstellation(ctx context.Context, constellation *skillz.Constellation) error
- func (s *Service) SetCorporation(ctx context.Context, corporation *skillz.Corporation, expires time.Duration) error
- func (s *Service) SetEtag(ctx context.Context, etag *skillz.Etag, expires time.Duration) error
- func (s *Service) SetFaction(ctx context.Context, faction *skillz.Faction) error
- func (s *Service) SetGroup(ctx context.Context, group *skillz.Group) error
- func (s *Service) SetGroupsByCategoryID(ctx context.Context, categoryID uint, groups []*skillz.Group) error
- func (s *Service) SetNewUsersBySP(ctx context.Context, users []*skillz.User, expires time.Duration) error
- func (s *Service) SetRace(ctx context.Context, race *skillz.Race) error
- func (s *Service) SetRegion(ctx context.Context, region *skillz.Region) error
- func (s *Service) SetSearchUsersResults(ctx context.Context, q string, users []*skillz.UserSearchResult, ...) error
- func (s *Service) SetShipTypes(ctx context.Context, items []*skillz.Type, expires time.Duration) error
- func (s *Service) SetSkillGroups(ctx context.Context, groups []*skillz.Group, expires time.Duration) error
- func (s *Service) SetSkillTypes(ctx context.Context, items []*skillz.Type, expires time.Duration) error
- func (s *Service) SetSolarSystem(ctx context.Context, solarSystem *skillz.SolarSystem) error
- func (s *Service) SetStation(ctx context.Context, station *skillz.Station) error
- func (s *Service) SetStructure(ctx context.Context, structure *skillz.Structure) error
- func (s *Service) SetType(ctx context.Context, item *skillz.Type) error
- func (s *Service) SetTypeAttributes(ctx context.Context, id uint, attributes []*skillz.TypeDogmaAttribute) error
- func (s *Service) SetTypesByGroupID(ctx context.Context, groupID uint, types []*skillz.Type) error
- func (s *Service) SetUserSettings(ctx context.Context, id uuid.UUID, settings *skillz.UserSettings, ...) error
- func (s *Service) ShipTypes(ctx context.Context) ([]*skillz.Type, error)
- func (s *Service) SkillGroups(ctx context.Context) ([]*skillz.Group, error)
- func (s *Service) SkillTypes(ctx context.Context) ([]*skillz.Type, error)
- func (s *Service) SolarSystem(ctx context.Context, id uint) (*skillz.SolarSystem, error)
- func (s *Service) Station(ctx context.Context, id uint) (*skillz.Station, error)
- func (s *Service) Structure(ctx context.Context, id uint64) (*skillz.Structure, error)
- func (s *Service) Type(ctx context.Context, id uint) (*skillz.Type, error)
- func (s *Service) TypeAttributes(ctx context.Context, id uint) ([]*skillz.TypeDogmaAttribute, error)
- func (s *Service) TypesByGroupID(ctx context.Context, id uint) ([]*skillz.Type, error)
- func (s *Service) UserSettings(ctx context.Context, id uuid.UUID) (*skillz.UserSettings, error)
- type SkillAPI
- type UniverseAPI
- type UserAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllianceAPI ¶
type AuthAPI ¶
type AuthAPI interface { JSONWebKeySet(ctx context.Context) ([]byte, error) SaveJSONWebKeySet(ctx context.Context, jwks []byte) error AuthAttempt(ctx context.Context, hash string) (*skillz.AuthAttempt, error) CreateAuthAttempt(ctx context.Context, attempt *skillz.AuthAttempt) error DeleteAuthAttempt(ctx context.Context, attempt *skillz.AuthAttempt) error }
type CharacterAPI ¶
type CorporationAPI ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) AuthAttempt ¶
func (*Service) BustNewUsersBySP ¶ added in v0.0.9
func (*Service) CharacterAttributes ¶
func (*Service) CharacterFlyableShips ¶
func (*Service) CharacterGroupedSkillz ¶
func (*Service) CharacterImplants ¶
func (*Service) CharacterSkillMeta ¶
func (*Service) CharacterSkillQueueSummary ¶ added in v0.2.2
func (*Service) CharacterSkills ¶
func (*Service) Constellation ¶
func (*Service) Corporation ¶
func (*Service) CreateAuthAttempt ¶
func (*Service) DeleteAuthAttempt ¶
func (*Service) EtagByPath ¶
func (*Service) GroupsByCategoryID ¶
func (*Service) JSONWebKeySet ¶
func (*Service) NewUsersBySP ¶
func (*Service) RecentUsers ¶ added in v0.2.2
func (*Service) ResetUserCache ¶ added in v0.2.2
func (*Service) SaveJSONWebKeySet ¶
func (*Service) SearchUsers ¶
func (*Service) SetAlliance ¶
func (*Service) SetBloodline ¶
func (*Service) SetCategory ¶
func (*Service) SetCharacter ¶
func (*Service) SetCharacterAttributes ¶
func (*Service) SetCharacterFlyableShips ¶
func (*Service) SetCharacterGroupedSkillz ¶
func (*Service) SetCharacterImplants ¶
func (*Service) SetCharacterSkillMeta ¶
func (*Service) SetCharacterSkillQueueSummary ¶ added in v0.2.2
func (*Service) SetCharacterSkills ¶
func (*Service) SetConstellation ¶
func (*Service) SetCorporation ¶
func (*Service) SetFaction ¶
func (*Service) SetGroupsByCategoryID ¶
func (*Service) SetNewUsersBySP ¶
func (*Service) SetSearchUsersResults ¶
func (*Service) SetShipTypes ¶ added in v0.2.2
func (*Service) SetSkillGroups ¶ added in v0.2.2
func (*Service) SetSkillTypes ¶ added in v0.2.2
func (*Service) SetSolarSystem ¶
func (*Service) SetStation ¶
func (*Service) SetStructure ¶
func (*Service) SetTypeAttributes ¶
func (*Service) SetTypesByGroupID ¶
func (*Service) SetUserSettings ¶ added in v0.0.14
func (*Service) SkillGroups ¶ added in v0.2.2
func (*Service) SkillTypes ¶ added in v0.2.2
func (*Service) SolarSystem ¶
func (*Service) TypeAttributes ¶
func (*Service) TypesByGroupID ¶
func (*Service) UserSettings ¶ added in v0.0.14
type SkillAPI ¶
type SkillAPI interface { CharacterSkillMeta(ctx context.Context, characterID uint64) (*skillz.CharacterSkillMeta, error) SetCharacterSkillMeta(ctx context.Context, meta *skillz.CharacterSkillMeta, expires time.Duration) error CharacterAttributes(ctx context.Context, characterID uint64) (*skillz.CharacterAttributes, error) SetCharacterAttributes(ctx context.Context, meta *skillz.CharacterAttributes, expires time.Duration) error CharacterSkills(ctx context.Context, characterID uint64) ([]*skillz.CharacterSkill, error) SetCharacterSkills(ctx context.Context, characterID uint64, skills []*skillz.CharacterSkill, expires time.Duration) error CharacterGroupedSkillz(ctx context.Context, characterID uint64) ([]*skillz.CharacterSkillGroup, error) SetCharacterGroupedSkillz(ctx context.Context, characterID uint64, groups []*skillz.CharacterSkillGroup, expires time.Duration) error // CharacterSkillQueue(ctx context.Context, characterID uint64) ([]*skillz.CharacterSkillQueue, error) // SetCharacterSkillQueue(ctx context.Context, characterID uint64, positions []*skillz.CharacterSkillQueue, expires time.Duration) error CharacterSkillQueueSummary(ctx context.Context, characterID uint64) (*skillz.CharacterSkillQueueSummary, error) SetCharacterSkillQueueSummary(ctx context.Context, characterID uint64, summary *skillz.CharacterSkillQueueSummary, expires time.Duration) error CharacterFlyableShips(ctx context.Context, characterID uint64) ([]*skillz.ShipGroup, error) SetCharacterFlyableShips(ctx context.Context, characterID uint64, flyable []*skillz.ShipGroup, expires time.Duration) error }
type UniverseAPI ¶
type UniverseAPI interface { Bloodline(ctx context.Context, id uint) (*skillz.Bloodline, error) SetBloodline(ctx context.Context, bloodline *skillz.Bloodline) error Race(ctx context.Context, id uint) (*skillz.Race, error) SetRace(ctx context.Context, race *skillz.Race) error Faction(ctx context.Context, id uint) (*skillz.Faction, error) SetFaction(ctx context.Context, faction *skillz.Faction) error Region(ctx context.Context, id uint) (*skillz.Region, error) SetRegion(ctx context.Context, region *skillz.Region) error Constellation(ctx context.Context, id uint) (*skillz.Constellation, error) SetConstellation(ctx context.Context, constellation *skillz.Constellation) error SolarSystem(ctx context.Context, id uint) (*skillz.SolarSystem, error) SetSolarSystem(ctx context.Context, solarSystem *skillz.SolarSystem) error Station(ctx context.Context, id uint) (*skillz.Station, error) SetStation(ctx context.Context, station *skillz.Station) error Structure(ctx context.Context, id uint64) (*skillz.Structure, error) SetStructure(ctx context.Context, structure *skillz.Structure) error Category(ctx context.Context, id uint) (*skillz.Category, error) SetCategory(ctx context.Context, category *skillz.Category) error Group(ctx context.Context, id uint) (*skillz.Group, error) SetGroup(ctx context.Context, group *skillz.Group) error GroupsByCategoryID(ctx context.Context, id uint) ([]*skillz.Group, error) SetGroupsByCategoryID(ctx context.Context, categoryID uint, groups []*skillz.Group) error Type(ctx context.Context, id uint) (*skillz.Type, error) SetType(ctx context.Context, item *skillz.Type) error SkillTypes(ctx context.Context) ([]*skillz.Type, error) SetSkillTypes(ctx context.Context, items []*skillz.Type, expires time.Duration) error SkillGroups(ctx context.Context) ([]*skillz.Group, error) SetSkillGroups(ctx context.Context, items []*skillz.Group, expires time.Duration) error ShipTypes(ctx context.Context) ([]*skillz.Type, error) SetShipTypes(ctx context.Context, items []*skillz.Type, expires time.Duration) error TypeAttributes(ctx context.Context, id uint) ([]*skillz.TypeDogmaAttribute, error) SetTypeAttributes(ctx context.Context, id uint, attributes []*skillz.TypeDogmaAttribute) error TypesByGroupID(ctx context.Context, id uint) ([]*skillz.Type, error) SetTypesByGroupID(ctx context.Context, groupID uint, types []*skillz.Type) error }
type UserAPI ¶
type UserAPI interface { UserSettings(ctx context.Context, id uuid.UUID) (*skillz.UserSettings, error) SetUserSettings(ctx context.Context, id uuid.UUID, settings *skillz.UserSettings, expires time.Duration) error SearchUsers(ctx context.Context, q string) ([]*skillz.UserSearchResult, error) SetSearchUsersResults(ctx context.Context, q string, users []*skillz.UserSearchResult, expires time.Duration) error NewUsersBySP(ctx context.Context) ([]*skillz.User, error) SetNewUsersBySP(ctx context.Context, users []*skillz.User, expires time.Duration) error BustNewUsersBySP(ctx context.Context) error ResetUserCache(ctx context.Context, user *skillz.User) error }
Click to show internal directories.
Click to hide internal directories.