Documentation
¶
Index ¶
- Constants
- func AcceptLanguage(next http.Handler) http.Handler
- func GetIPAddress(r *http.Request) string
- func IPFromRequest(req *http.Request) (net.IP, error)
- func Request(next http.Handler) http.Handler
- func RequireAuthentication(next http.Handler) http.Handler
- func Transaction(next http.Handler) http.Handler
Constants ¶
View Source
const ( // EN english language EN = "en" // TH thai language TH = "th" )
Variables ¶
This section is empty.
Functions ¶
func AcceptLanguage ¶
AcceptLanguage header Accept-Language
func GetIPAddress ¶
GetIPAddress get ip address from request
func IPFromRequest ¶
IPFromRequest get ip address
func RequireAuthentication ¶
RequireAuthentication require authentication
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.