Documentation
¶
Index ¶
Constants ¶
View Source
const HTTPRequestMessageConfig = "http_request"
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(pathsExclude router.PathsExclude, cfg ...*Config) router.Middleware
Types ¶
type Config ¶
type Tag ¶
type Tag string
const ( TagTime Tag = "time" TagProtocol Tag = "protocol" TagIP Tag = "ip" TagHost Tag = "host" TagMethod Tag = "method" TagPath Tag = "path" TagURL Tag = "url" TagUA Tag = "ua" TagLatency Tag = "latency" TagStatus Tag = "status" TagReqBody Tag = "request_body" TagRoute Tag = "route" TagReqHeader Tag = "request_header" TagQuery Tag = "query" TagRespHeader Tag = "response_header" TagRespBody Tag = "response_body" )
Click to show internal directories.
Click to hide internal directories.