Documentation ¶
Index ¶
Constants ¶
View Source
const LiaHomePage = "https://liagame.com"
View Source
const PropertyID = "UA-122844498-1" // Id of google analytics project
View Source
const SettingsFile = ".lia"
View Source
const SettingsFileExtension = "json"
View Source
const TestPropertyID = "UA-122844498-2"
View Source
const VERSION = "1.0.1"
Variables ¶
View Source
var AuthUrl string
View Source
var AuthVerifyUrl string
View Source
var BotUploadUrl string
View Source
var LoggedInUser string
View Source
var OperatingSystem = runtime.GOOS
View Source
var PathToBots string
Store path to this program executables
View Source
var PathToData string
View Source
var ReleasesUrl string
View Source
var ReleasesZipUrlBase string
View Source
var UserToken string
Functions ¶
Types ¶
type Config ¶
type Config struct { Version string `json:"version"` GamePort int `json:"gamePort"` Languages []Language `json:"languages"` }
var Cfg *Config
type Language ¶
type Language struct { Name string `json:"name"` BotURL string `json:"botUrl"` PrepareUnix string `json:"prepareUnix"` RunUnix string `json:"runUnix"` PrepareWindows string `json:"prepareWindows"` RunWindows string `json:"runWindows"` CleanupUnix string `json:"cleanupUnix"` CleanupWindows string `json:"cleanupWindows"` }
Click to show internal directories.
Click to hide internal directories.