Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConsoleConfig = console.Config{ OAuth: oauthclient.Config{ AuthorizeURL: shared.DefaultOAuthPublicURL + "/authorize", LogoutURL: shared.DefaultOAuthPublicURL + "/logout", TokenURL: shared.DefaultOAuthPublicURL + "/token", ClientID: "console", ClientSecret: "console", }, UI: console.UIConfig{ TemplateData: webui.TemplateData{ SiteName: "The Things Stack for LoRaWAN", Title: "Console", SubTitle: "Management platform for The Things Stack for LoRaWAN", Language: "en", CanonicalURL: shared.DefaultConsolePublicURL, AssetsBaseURL: shared.DefaultAssetsBaseURL, IconPrefix: "console-", CSSFiles: []string{"console.css"}, JSFiles: []string{"console.js"}, }, FrontendConfig: console.FrontendConfig{ DocumentationBaseURL: fmt.Sprintf("https://thethingsstack.io/%s", strings.TrimSuffix(strings.TrimPrefix(version.TTN, "v"), "-dev")), StackConfig: console.StackConfig{ IS: webui.APIConfig{Enabled: true, BaseURL: shared.DefaultPublicURL + "/api/v3"}, GS: webui.APIConfig{Enabled: true, BaseURL: shared.DefaultPublicURL + "/api/v3"}, NS: webui.APIConfig{Enabled: true, BaseURL: shared.DefaultPublicURL + "/api/v3"}, AS: webui.APIConfig{Enabled: true, BaseURL: shared.DefaultPublicURL + "/api/v3"}, JS: webui.APIConfig{Enabled: true, BaseURL: shared.DefaultPublicURL + "/api/v3"}, EDTC: webui.APIConfig{Enabled: true, BaseURL: shared.DefaultPublicURL + "/api/v3"}, QRG: webui.APIConfig{Enabled: true, BaseURL: shared.DefaultPublicURL + "/api/v3"}, }, }, }, }
DefaultConsoleConfig is the default configuration for the Console.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.