config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2017 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DataDiscovery = struct {
	AssetsPath  string
	API_URL     string
	JOB_API_URL string
	BASE_PATH   string
}{
	"https://cdn.ons.gov.uk/dp-dd-react-app/aa56f5a",
	"/dd/api",
	"/dd/api/jobs",
	"/dd",
}

DataDiscovery has configuration values for the dataset JS application TODO make this configurable from environment

View Source
var DebugMode bool

DebugMode contains boolean of whether application is being run in development

View Source
var PatternLibraryAssetsPath = "//cdn.ons.gov.uk/sixteens/caf397f"

PatternLibraryAssetsPath is the URL to the CSS and JS assets from the pattern library

View Source
var SiteDomain = "ons.gov.uk"

SiteDomain is the current domain that the router is hosted on

View Source
var ZebedeeURL = "http://localhost:8082"

ZebedeeURL is the URL for Zebedee

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