clone

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: MIT Imports: 13 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 {
	skillz.Processor
	Clones(ctx context.Context, characterID uint64) (*skillz.CharacterCloneMeta, error)
	Implants(ctx context.Context, characterID uint64) ([]*skillz.CharacterImplant, error)
}

type Service

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

func New

func New(logger *logrus.Logger, cache cache.CloneAPI, etag etag.API, esi esi.CloneAPI, universe universe.API, clones skillz.CloneRepository) *Service

func (*Service) Clones

func (s *Service) Clones(ctx context.Context, characterID uint64) (*skillz.CharacterCloneMeta, error)

func (*Service) DeathClone

func (s *Service) DeathClone(ctx context.Context, characterID uint64) (*skillz.CharacterDeathClone, error)

func (*Service) Implants

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

func (*Service) JumpClone

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

func (*Service) Process

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

func (*Service) Scopes

func (s *Service) Scopes() []skillz.Scope

Jump to

Keyboard shortcuts

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