Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TryPrepend ¶
TryPrepend tries to prepend the given prefix if it does not start in the s.
Types ¶
type ResponseWriterLog ¶
func WrapLog ¶
func WrapLog(w http.ResponseWriter, r *http.Request) *ResponseWriterLog
func (*ResponseWriterLog) ContentType ¶
func (r *ResponseWriterLog) ContentType() string
func (*ResponseWriterLog) Header ¶
func (r *ResponseWriterLog) Header() http.Header
func (*ResponseWriterLog) LogResponse ¶
func (r *ResponseWriterLog) LogResponse()
func (*ResponseWriterLog) WriteHeader ¶
func (r *ResponseWriterLog) WriteHeader(statusCode int)
Click to show internal directories.
Click to hide internal directories.