Documentation ¶
Index ¶
- Constants
- func AcceptLanguage(r *http.Request) string
- func AcceptLanguageDef(r *http.Request, defLang string) string
- func CacheFor(h http.Header, days int, immutable ...bool)
- func DisableCache(h http.Header)
- func LanguageList(r *http.Request) string
- func PrefferedLanguage(r *http.Request) string
- func QualityWeighted(r *http.Request, p string) []string
- func RequestIsDev(r *http.Request) bool
Constants ¶
View Source
const ( MAX_HTTP_CACHE_DAYS = 365 DEF_REQUEST_LANG = "en" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.