worker

package
v0.0.0-...-a940e1d Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2018 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Context

func Context(ctx context.Context) context.Context

Context adds the goesi client and auth to context

func ResolveCharacter

func ResolveCharacter(ctx context.Context, charID int32) (int32, string)

ResolveCharacter returns the ID and name of the character's corporation

func ResolveCorporation

func ResolveCorporation(ctx context.Context, corpID int32) (int32, string)

ResolveCorporation returns the ID and name of the corporation's alliance

func ResolveName

func ResolveName(ctx context.Context, charID ...int32) (
	[]esi.PostUniverseNames200Ok,
	error,
)

ResolveName returns the post universe names return

func Run

func Run(ctx context.Context)

Run -- main worker entry point -- this function does not return

Types

This section is empty.

Jump to

Keyboard shortcuts

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