(reject auth.Auth, wr http.ResponseWriter, req *http.Request)
| 285 | } |
| 286 | |
| 287 | func (s *ProxyHandler) reject(reject auth.Auth, wr http.ResponseWriter, req *http.Request) { |
| 288 | _, _ = reject.Validate(req.Context(), wr, req) |
| 289 | } |
| 290 | |
| 291 | func trimAddrPort(addrPort string) string { |
| 292 | res, _, err := net.SplitHostPort(addrPort) |
no test coverage detected