Documentation
¶
Overview ¶
Package artifice provides seqencing of timed triggers for pulling information.
Index ¶
- type Artifice
- func (s *Artifice) ChangeBasePath(path string)
- func (s *Artifice) ChangeTokenPath(path string)
- func (s *Artifice) Close()
- func (s *Artifice) GetAllianceForScope(scope string) ([]CharacterPairs, error)
- func (s *Artifice) GetCharactersForScope(scope string) ([]CharacterPairs, error)
- func (s *Artifice) GetCorporationForScope(scope string) ([]CharacterPairs, error)
- func (s *Artifice) QueueSize() (int, error)
- func (s *Artifice) QueueWork(work []redisqueue.Work, priority int) error
- func (s *Artifice) Run()
- type CharacterPairs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifice ¶
type Artifice struct {
// contains filtered or unexported fields
}
Artifice handles the scheduling of routine tasks.
func NewArtifice ¶
func NewArtifice(redis *redis.Pool, db *sqlx.DB, clientID string, secret string, refresh string, refreshCharID string) *Artifice
NewArtifice Service.
func (*Artifice) ChangeBasePath ¶
ChangeBasePath for ESI (sisi/mock/tranquility)
func (*Artifice) ChangeTokenPath ¶
ChangeTokenPath for ESI (sisi/mock/tranquility)
func (*Artifice) GetAllianceForScope ¶
func (s *Artifice) GetAllianceForScope(scope string) ([]CharacterPairs, error)
func (*Artifice) GetCharactersForScope ¶
func (s *Artifice) GetCharactersForScope(scope string) ([]CharacterPairs, error)
func (*Artifice) GetCorporationForScope ¶
func (s *Artifice) GetCorporationForScope(scope string) ([]CharacterPairs, error)
Click to show internal directories.
Click to hide internal directories.