Documentation ¶
Index ¶
- func NewTimeoutReader(r io.Reader, ctrl *http.ResponseController, readTimeout time.Duration) io.Reader
- func NewTimeoutResponseWriter(w http.ResponseWriter, writeTimeout time.Duration) http.ResponseWriter
- func RequestId(next http.Handler) http.Handler
- type LogEntry
- type LogFormatter
- type Server
- type ServerTLSConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTimeoutReader ¶
func NewTimeoutResponseWriter ¶
func NewTimeoutResponseWriter(w http.ResponseWriter, writeTimeout time.Duration) http.ResponseWriter
Types ¶
type LogFormatter ¶
func (LogFormatter) NewLogEntry ¶
func (f LogFormatter) NewLogEntry(r *http.Request) middleware.LogEntry
Click to show internal directories.
Click to hide internal directories.