Request Method: | {{.RequestMethod}} |
Request URL: | {{.RequestURL}} |
RemoteAddr: | {{.RemoteAddr }} |
Stack
{{.Stack}}
package middleware import ( "fmt" "html/template" "net/http" "runtime" ) var tpl = `
Request Method: | {{.RequestMethod}} |
Request URL: | {{.RequestURL}} |
RemoteAddr: | {{.RemoteAddr }} |
{{.Stack}}