(r *http.Request)
| 492 | } |
| 493 | |
| 494 | func getService(r *http.Request) string { |
| 495 | if r.Method == "GET" { |
| 496 | return r.URL.Query().Get("service") |
| 497 | } |
| 498 | return filepath.Base(r.URL.Path) |
| 499 | } |
| 500 | |
| 501 | type gzipResponseWriter struct { |
| 502 | gin.ResponseWriter |
no test coverage detected