(c *routing.Context)
| 52 | } |
| 53 | |
| 54 | func GetLogToBody(c *routing.Context) bool { |
| 55 | if b := string(c.Request.Header.Peek(HeaderLogToBody)); b == "true" { |
| 56 | return true |
| 57 | } |
| 58 | if b := string(c.Request.URI().QueryArgs().Peek(QueryLogToBody)); b == "true" { |
| 59 | return true |
| 60 | } |
| 61 | return false |
| 62 | } |
no outgoing calls
no test coverage detected