Documentation
¶
Index ¶
Constants ¶
View Source
const (
ApacheFormatPattern = "%s - - [%s] \"%s %d %d\" %f\n"
)
Variables ¶
This section is empty.
Functions ¶
func NewApacheLoggingHandler ¶
Types ¶
type ApacheLogRecord ¶
type ApacheLogRecord struct {
http.ResponseWriter
// contains filtered or unexported fields
}
func (*ApacheLogRecord) Log ¶
func (r *ApacheLogRecord) Log()
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)
Click to show internal directories.
Click to hide internal directories.