Documentation ¶
Index ¶
- func AuthenticateHandler(auth evesso.Authenticator, sess server.Sessionizer) web.HandlerFunc
- func AutocompleteStations(sde evego.Database, db db.LocalDB, xmlAPI evego.XMLAPI) web.HandlerFunc
- func AutocompleteSystems(db evego.Database) web.HandlerFunc
- func BlueprintsHandlers(localdb db.LocalDB, sde evego.Database, sess server.Sessionizer) (refresh, get web.HandlerFunc)
- func CRESTCallbackListener(localdb db.LocalDB, auth evesso.Authenticator, sess server.Sessionizer) web.HandlerFunc
- func ItemsMarketValue(db evego.Database, mkt evego.Market, xmlAPI evego.XMLAPI) web.HandlerFunc
- func LogoutHandler(localdb db.LocalDB, auth evesso.Authenticator, sess server.Sessionizer) web.HandlerFunc
- func ParseItems(db evego.Database) web.HandlerFunc
- func ReprocessItems(db evego.Database, mkt evego.Market) web.HandlerFunc
- func ReprocessOutputValues(db evego.Database, mkt evego.Market, xmlAPI evego.XMLAPI, cache evego.Cache) web.HandlerFunc
- func SessionInfo(auth evesso.Authenticator, sess server.Sessionizer, localdb db.LocalDB) web.HandlerFunc
- func SkillsHandler(localdb db.LocalDB, sess server.Sessionizer) web.HandlerFunc
- func StandingsHandler(localdb db.LocalDB, sess server.Sessionizer) web.HandlerFunc
- func UnusedSalvage(localdb db.LocalDB, sde evego.Database, sess server.Sessionizer) web.HandlerFunc
- func XMLAPIKeysHandlers(localdb db.LocalDB, sess server.Sessionizer) (list, delete, add, refresh web.HandlerFunc)
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 ¶
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 ¶
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 ¶
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.