()
| 163 | } |
| 164 | |
| 165 | func (ale *accessLogEntry) Encode() ([]byte, error) { |
| 166 | ale.ensureEncoded() |
| 167 | return ale.encoded, ale.err |
| 168 | } |
| 169 | |
| 170 | func (s *Server) withAccessLog(next http.Handler) http.Handler { |
| 171 | return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { |
nothing calls this directly
no test coverage detected