Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasFileExt ¶
HasFileExt returns true if the given path has a file extension
func IsKnownBabbageEndpoint ¶
IsKnownBabbageEndpoint returns true if the given path matches a known babbage endpoint
Types ¶
type Config ¶
type Config struct { HealthCheckHandler func(w http.ResponseWriter, req *http.Request) AnalyticsHandler http.Handler AreaProfileEnabled bool AreaProfileHandler http.Handler DownloadHandler http.Handler DatasetHandler http.Handler DatasetClient datasetType.DatasetClient CookieHandler http.Handler FilterHandler http.Handler FilterFlexHandler http.Handler FilterFlexEnabled bool FilterClient datasetType.FilterClient FeedbackHandler http.Handler ContentTypeByteLimit int ZebedeeClient allRoutes.ZebedeeClient GeographyEnabled bool GeographyHandler http.Handler InteractivesEnabled bool InteractivesHandler http.Handler SearchRoutesEnabled bool EnableSearchABTest bool CensusHubRoutesEnabled bool SearchABTestPercentage int SiteDomain string SearchHandler http.Handler HomepageHandler http.Handler BabbageHandler http.Handler CensusAtlasHandler http.Handler CensusAtlasEnabled bool }
Click to show internal directories.
Click to hide internal directories.