contact

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: MIT Imports: 15 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
	Contacts(ctx context.Context, characterID uint64) ([]*skillz.CharacterContact, error)
}

type Service

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

func New

func New(logger *logrus.Logger, cache cache.ContactAPI, etag etag.API, esi esi.ContactAPI, character character.API, corporation corporation.API, alliance alliance.API, contacts skillz.ContactRepository) *Service

func (*Service) Contacts

func (s *Service) Contacts(ctx context.Context, characterID uint64) ([]*skillz.CharacterContact, 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