universe

package
v0.0.14-rc8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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 (*Service) Bloodline

func (s *Service) Bloodline(ctx context.Context, bloodlineID uint) (*skillz.Bloodline, error)

func (*Service) Category

func (s *Service) Category(ctx context.Context, categoryID uint) (*skillz.Category, error)

func (*Service) Constellation

func (s *Service) Constellation(ctx context.Context, constellationID uint) (*skillz.Constellation, error)

func (*Service) Faction

func (s *Service) Faction(ctx context.Context, id uint) (*skillz.Faction, error)

func (*Service) Group

func (s *Service) Group(ctx context.Context, groupID uint) (*skillz.Group, error)

func (*Service) GroupsByCategory

func (s *Service) GroupsByCategory(ctx context.Context, categoryID uint) ([]*skillz.Group, error)

func (*Service) Race

func (s *Service) Race(ctx context.Context, id uint) (*skillz.Race, error)

func (*Service) Region

func (s *Service) Region(ctx context.Context, regionID uint) (*skillz.Region, error)

func (*Service) SolarSystem

func (s *Service) SolarSystem(ctx context.Context, solarSystemID uint) (*skillz.SolarSystem, error)

func (*Service) Station

func (s *Service) Station(ctx context.Context, stationID uint) (*skillz.Station, error)

func (*Service) Structure

func (s *Service) Structure(ctx context.Context, structureID uint64) (*skillz.Structure, error)

TODO: Need Auth Token from Currently Authenticated Character

func (*Service) Type

func (s *Service) Type(ctx context.Context, itemID uint) (*skillz.Type, error)

func (*Service) TypeAttributes

func (s *Service) TypeAttributes(ctx context.Context, id uint) ([]*skillz.TypeDogmaAttribute, error)

func (*Service) TypesByGroup

func (s *Service) TypesByGroup(ctx context.Context, groupID uint) ([]*skillz.Type, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL