locweb

package
v0.0.0-...-4f8f121 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBestLanguageFromHTTP

func GetBestLanguageFromHTTP(lp *loc.Pool, r *http.Request,
	cookieName, paramName string) string

GetBestLanguageFromHTTP returns the best language match based on the provided list of language tags and the value of "Accept-Language" request header and, optionally, explicit language name defined in a cookie or a parameter

Types

This section is empty.

Jump to

Keyboard shortcuts

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