package
Version:
v0.0.0-...-3525954
Opens a new window with list of versions in this module.
Published: Dec 25, 2019
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package regions defines all possible Blizzard regions for communicating with the Battle.net API.
Region can be one of: US, EU, KR, TW, SEA, or CN
API returns the URL relative to the region for REST calls.
AuthURL returns the URL for OAuth authorization.
Int returns the region as an integer value.
Itoa returns the region's integer value as a string representation.
String returns the region as a lowercase string.
If the region is invalid, the function causes a panic.
TokenURL returns the URL to retrieve an OAuth token.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.