Documentation ¶
Index ¶
- 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) 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) TypesByGroup(ctx context.Context, groupID uint) ([]*skillz.Type, error)
Constants ¶
This section is empty.
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) 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(cache cache.UniverseAPI, esi esi.UniverseAPI, universe skillz.UniverseRepository) *Service
func (*Service) Constellation ¶
func (*Service) GroupsByCategory ¶
func (*Service) SolarSystem ¶
func (*Service) TypeAttributes ¶
Click to show internal directories.
Click to hide internal directories.