skill

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PlushHelperHasSkillCount added in v0.2.2

func PlushHelperHasSkillCount(group *skillz.SkillGroup) uint

func PlushHelperLevelVSPTotal added in v0.2.2

func PlushHelperLevelVSPTotal(group *skillz.SkillGroup) uint

func PlushHelperLevelVSkillCount added in v0.2.2

func PlushHelperLevelVSkillCount(group *skillz.SkillGroup) uint

func PlushHelperMissingSkill added in v0.2.2

func PlushHelperMissingSkill(group *skillz.SkillGroup) uint

func PlushHelperPossibleSPByRank added in v0.2.2

func PlushHelperPossibleSPByRank(rank interface{}) float64

Types

type API

type API interface {
	skillz.Processor
	Meta(ctx context.Context, characterID uint64) (*skillz.CharacterSkillMeta, error)
	Skillz(ctx context.Context, characterID uint64) ([]*skillz.CharacterSkill, error)
	Attributes(ctx context.Context, characterID uint64) (*skillz.CharacterAttributes, error)
	Flyable(ctx context.Context, characterID uint64) ([]*skillz.ShipGroup, error)
	SkillQueue(ctx context.Context, characterID uint64) (*skillz.CharacterSkillQueueSummary, error)
	SkillsGrouped(ctx context.Context, characterID uint64) ([]*skillz.CharacterSkillGroup, error)
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(logger *logrus.Logger, cache cache.SkillAPI, esi esi.SkillAPI, universe universe.API, skills skillz.CharacterSkillRepository) *Service

func (*Service) Attributes

func (s *Service) Attributes(ctx context.Context, characterID uint64) (*skillz.CharacterAttributes, error)

func (*Service) Flyable

func (s *Service) Flyable(ctx context.Context, characterID uint64) ([]*skillz.ShipGroup, error)

func (*Service) Meta

func (s *Service) Meta(ctx context.Context, characterID uint64) (*skillz.CharacterSkillMeta, error)

func (*Service) Process

func (s *Service) Process(ctx context.Context, user *skillz.User) error

func (*Service) SkillQueue

func (s *Service) SkillQueue(ctx context.Context, characterID uint64) (*skillz.CharacterSkillQueueSummary, error)

func (*Service) SkillsGrouped

func (s *Service) SkillsGrouped(ctx context.Context, characterID uint64) ([]*skillz.CharacterSkillGroup, error)

func (*Service) Skillz

func (s *Service) Skillz(ctx context.Context, characterID uint64) ([]*skillz.CharacterSkill, error)

Jump to

Keyboard shortcuts

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