Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultURLs = URLs{
JDocs: "jdocs-dev.api.anki.com:443",
Token: "token-dev.api.anki.com:443",
Chipper: "chipper-dev.api.anki.com:443",
Check: "conncheck.global.anki-dev-services.com/ok",
LogFiles: "s3://anki-device-logs-dev/victor",
AppKey: "",
}
DefaultURLs provides a default, hard-coded configuration that can be used if an expected configuration is not found on disk
View Source
var Env = DefaultURLs
Env represents the URLs associated with the most recent successful call to SetGlobal. Before this, it has the same values as DefaultURLs.
Functions ¶
Types ¶
type URLs ¶
type URLs struct { JDocs string `json:"jdocs"` Token string `json:"tms"` Chipper string `json:"chipper"` Check string `json:"check"` LogFiles string `json:"logfiles"` AppKey string `json:"appkey"` OffboardVision *string `json:"offboard_vision,omitempty"` }
URLs represents a set of URLs where Anki's cloud services can be reached
Click to show internal directories.
Click to hide internal directories.