api

package
v0.0.0-...-965783e Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2016 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticateHandler

func AuthenticateHandler(auth evesso.Authenticator, sess server.Sessionizer) web.HandlerFunc

AuthenticateHandler returns a web handler function that redirects to a session-specific authentication link.

func AutocompleteStations

func AutocompleteStations(sde evego.Database, db db.LocalDB, xmlAPI evego.XMLAPI) web.HandlerFunc

AutocompleteStations returns a handler function that serves station autocomplete requests.

func AutocompleteSystems

func AutocompleteSystems(db evego.Database) web.HandlerFunc

AutocompleteSystems returns a handler function that serves system autocomplete requests.

func BlueprintsHandlers

func BlueprintsHandlers(localdb db.LocalDB, sde evego.Database, sess server.Sessionizer) (refresh, get web.HandlerFunc)

BlueprintsHandlers returns web handler functions that provide information on a toon's bluerpints.

func CRESTCallbackListener

func CRESTCallbackListener(localdb db.LocalDB, auth evesso.Authenticator, sess server.Sessionizer) web.HandlerFunc

CRESTCallbackListener returns a web handler function that listens for a CREST SSO callback and accepts the results of authentication.

func ItemsMarketValue

func ItemsMarketValue(db evego.Database, mkt evego.Market, xmlAPI evego.XMLAPI) web.HandlerFunc

ItemsMarketValue returns a handler that takes as input a JSON array of items and their quantities, plus a specified station or region, and computes the items' value.

FIXME: Should return all buy orders within range for the queried system.

func LogoutHandler

func LogoutHandler(localdb db.LocalDB, auth evesso.Authenticator, sess server.Sessionizer) web.HandlerFunc

LogoutHandler returns a web handler function that deletes the user's sessions.

func ParseItems

func ParseItems(db evego.Database) web.HandlerFunc

ParseItems returns a handler function that converts pasted item lists of any description into well-formed JSON. The paste should be passed as the form field "paste".

func ReprocessItems

func ReprocessItems(db evego.Database, mkt evego.Market) web.HandlerFunc

ReprocessItems returns a handler function that takes as input an item list and returns the reprocessing output of each inventory line.

func ReprocessOutputValues

func ReprocessOutputValues(db evego.Database, mkt evego.Market, xmlAPI evego.XMLAPI, cache evego.Cache) web.HandlerFunc

ReprocessOutputValues returns a web handler function that generates a list of possible output from reprocessing, along with the Jita sell and buy price of each.

func SessionInfo

func SessionInfo(auth evesso.Authenticator, sess server.Sessionizer, localdb db.LocalDB) web.HandlerFunc

SessionInfo returns a web handler function that returns information about the current session.

func SkillsHandler

func SkillsHandler(localdb db.LocalDB, sess server.Sessionizer) web.HandlerFunc

SkillsHandler returns a web handler function that provides information on a toon's skills.

func StandingsHandler

func StandingsHandler(localdb db.LocalDB, sess server.Sessionizer) web.HandlerFunc

StandingsHandler returns a web handler function that provides information on the user's toons' effective standings.

func UnusedSalvage

func UnusedSalvage(localdb db.LocalDB, sde evego.Database, sess server.Sessionizer) web.HandlerFunc

UnusedSalvage returns a web handler function that identifies a user's salvage drops that are unused by any blueprint they own.

func XMLAPIKeysHandlers

func XMLAPIKeysHandlers(localdb db.LocalDB, sess server.Sessionizer) (list, delete, add, refresh web.HandlerFunc)

XMLAPIKeysHandlers returns web handler functions that provide information on the user's API keys that have been registered with this application.

Types

This section is empty.

Jump to

Keyboard shortcuts

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