backend

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Information about the build itself, used for debugging.
	Version = "v0.0.0"
	Commit  = "unknown"
	Date    = "unknown"
)

Functions

func Debug

func Debug(message string)

Outputs a debug message if debug environment

func Error

func Error(message interface{})

Logs an error and continues the program.

func Fatal

func Fatal(message interface{})

Logs a fatal error and exits the program.

func FetchItem

func FetchItem(itemID int) structures.ApiItem

Fetches information about the given item from the API.

func FetchMarketItem

func FetchMarketItem(server string, itemID int, limit int, hq string) structures.ApiMarketItem

Fetches information about the given item from the market of the given server.

func FetchSearch

func FetchSearch(query string, indexes ...string) structures.ApiSearchResult

Searches for the given item from the API.

func FetchTaxRates

func FetchTaxRates(server string) structures.ApiTaxRegions

Fetches the current tax rates for the specified server.

func Update

func Update(version string)

returns string or error

func Warning

func Warning(message interface{})

Outputs a warning message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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