Documentation
¶
Index ¶
Constants ¶
View Source
const BASE_URL = "https://adventofcode.com"
View Source
const DAY_URL = YEAR_URL + "/day/%v"
View Source
const OFFSEASON_REQS_PER_SEC = 25
View Source
const ONSEASON_REQS_PER_SEC = 10
Number of API requests allowed per second.
View Source
const USER_AGENT = "go.dalton.dog/aocgo"
USER_AGENT is used to identify requests from this program
View Source
const YEAR_URL = BASE_URL + "/%v"
Variables ¶
View Source
var MasterClient httpClient
Functions ¶
func InitClient ¶
func InitClient(userSessionToken string)
InitClient creates the API client with a given user session token.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.