Documentation ¶
Index ¶
- Constants
- func BooleanFlag(name string) bool
- func HTTPSRedirect(host string, paths map[string]bool) func(http.ResponseWriter, *http.Request)
- func IsLive() bool
- func IsRequestLog(sources []string, line string) bool
- func IsSecure() bool
- func LogRequest(r *http.Request)
- func ParseInt(s string) int64
- func ParseRequestLog(line string) (int64, []string, map[string]string, error)
- func QueryParameter(query url.Values, parameter string) string
- func SetupLogging() (*os.File, error)
Constants ¶
View Source
const HTTPS = "HTTPS"
View Source
const LIVE = "LIVE"
Variables ¶
This section is empty.
Functions ¶
func BooleanFlag ¶ added in v1.2.6
func HTTPSRedirect ¶
func IsRequestLog ¶ added in v1.3.0
func LogRequest ¶ added in v1.3.0
func ParseRequestLog ¶ added in v1.3.0
func QueryParameter ¶ added in v1.2.0
func SetupLogging ¶ added in v1.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.