Documentation ¶
Index ¶
- Constants
- type API
- type Service
- func (s *Service) Bloodline(ctx context.Context, bloodlineID uint) (*skillz.Bloodline, error)
- func (s *Service) Category(ctx context.Context, categoryID uint) (*skillz.Category, error)
- func (s *Service) Constellation(ctx context.Context, constellationID uint) (*skillz.Constellation, error)
- func (s *Service) Faction(ctx context.Context, id uint) (*skillz.Faction, error)
- func (s *Service) Group(ctx context.Context, groupID uint) (*skillz.Group, error)
- func (s *Service) GroupsByCategory(ctx context.Context, categoryID uint) ([]*skillz.Group, error)
- func (s *Service) Race(ctx context.Context, id uint) (*skillz.Race, error)
- func (s *Service) Region(ctx context.Context, regionID uint) (*skillz.Region, error)
- func (s *Service) ShipTypesHydrated(ctx context.Context) ([]*skillz.Type, error)
- func (s *Service) SkillTypesHydrated(ctx context.Context) ([]*skillz.Type, error)
- func (s *Service) SolarSystem(ctx context.Context, solarSystemID uint) (*skillz.SolarSystem, error)
- func (s *Service) Station(ctx context.Context, stationID uint) (*skillz.Station, error)
- func (s *Service) Structure(ctx context.Context, structureID uint64) (*skillz.Structure, error)
- func (s *Service) Type(ctx context.Context, itemID uint) (*skillz.Type, error)
- func (s *Service) TypeAttributes(ctx context.Context, id uint) ([]*skillz.TypeDogmaAttribute, error)
- func (s *Service) TypeGroupsHydrated(ctx context.Context, categoryID uint) ([]*skillz.Group, error)
- func (s *Service) TypesByGroup(ctx context.Context, groupID uint) ([]*skillz.Type, error)
Constants ¶
View Source
const ( CategoryShips = uint(6) CategorySkills = uint(16) CategoryImplants = uint(20) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { Bloodline(ctx context.Context, bloodlineID uint) (*skillz.Bloodline, error) Category(ctx context.Context, categoryID uint) (*skillz.Category, error) Constellation(ctx context.Context, constellationID uint) (*skillz.Constellation, error) Faction(ctx context.Context, id uint) (*skillz.Faction, error) Group(ctx context.Context, groupID uint) (*skillz.Group, error) GroupsByCategory(ctx context.Context, categoryID uint) ([]*skillz.Group, error) Race(ctx context.Context, id uint) (*skillz.Race, error) Region(ctx context.Context, regionID uint) (*skillz.Region, error) SolarSystem(ctx context.Context, solarSystemID uint) (*skillz.SolarSystem, error) Station(ctx context.Context, stationID uint) (*skillz.Station, error) Structure(ctx context.Context, structureID uint64) (*skillz.Structure, error) Type(ctx context.Context, itemID uint) (*skillz.Type, error) SkillTypesHydrated(ctx context.Context) ([]*skillz.Type, error) TypeGroupsHydrated(ctx context.Context, categoryID uint) ([]*skillz.Group, error) TypeAttributes(ctx context.Context, id uint) ([]*skillz.TypeDogmaAttribute, error) TypesByGroup(ctx context.Context, groupID uint) ([]*skillz.Type, error) }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger *logrus.Logger, cache cache.UniverseAPI, esi esi.UniverseAPI, universe skillz.UniverseRepository) *Service
func (*Service) Constellation ¶
func (*Service) GroupsByCategory ¶
func (*Service) ShipTypesHydrated ¶ added in v0.2.2
func (*Service) SkillTypesHydrated ¶ added in v0.2.2
func (*Service) SolarSystem ¶
func (*Service) TypeAttributes ¶
func (*Service) TypeGroupsHydrated ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.