Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApacheLogRecord ¶
type ApacheLogRecord struct {
http.ResponseWriter
// contains filtered or unexported fields
}
func (*ApacheLogRecord) Log ¶
func (r *ApacheLogRecord) Log(out io.Writer)
func (*ApacheLogRecord) WriteHeader ¶
func (r *ApacheLogRecord) WriteHeader(status int)
type ApacheLoggingHandler ¶
type ApacheLoggingHandler struct {
// contains filtered or unexported fields
}
func (*ApacheLoggingHandler) ServeHTTP ¶
func (h *ApacheLoggingHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type NegroniAccessLog ¶
type NegroniAccessLog struct {
// contains filtered or unexported fields
}
func NewNegroniAccessLog ¶
func NewNegroniAccessLog(path string) *NegroniAccessLog
func (*NegroniAccessLog) ServeHTTP ¶
func (n *NegroniAccessLog) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc)
Define ServeHTTP method required for Negroni middleware
Click to show internal directories.
Click to hide internal directories.