Documentation
¶
Index ¶
Constants ¶
View Source
const (
HTTPHeaderKeyXFrameOptions = "X-Frame-Options"
)
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
DownloadHandler http.Handler
DatasetHandler http.Handler
DatasetClient datasetType.DatasetClient
NewDatasetRoutingEnabled bool
PrefixDatasetHandler http.Handler
CookieHandler http.Handler
FilterHandler http.Handler
FilterFlexHandler http.Handler
FilterClient datasetType.FilterClient
FeedbackHandler http.Handler
ContentTypeByteLimit int
ZebedeeClient allRoutes.ZebedeeClient
LegacySearchRedirectsEnabled bool
DataAggregationPagesEnabled bool
TopicAggregationPagesEnabled bool
SearchRoutesEnabled bool
SiteDomain string
SearchHandler http.Handler
RelCalHandler http.Handler
HomepageHandler http.Handler
BabbageHandler http.Handler
ProxyHandler http.Handler
CensusAtlasHandler http.Handler
CensusAtlasEnabled bool
DatasetFinderEnabled bool
LegacyCacheProxyEnabled bool
PreviousReleasesRouteEnabled bool
RelatedDataRouteEnabled bool
}
Click to show internal directories.
Click to hide internal directories.