console

package
v3.9.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

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: "https://thethingsstack.io",
			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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL