Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶ added in v0.2.1
type Middleware struct {
// Log is the log output for this Middleware.
Log *logger.Logger
}
func (*Middleware) HTTPError ¶ added in v0.2.1
func (m *Middleware) HTTPError(rw http.ResponseWriter, r *http.Request, msg string, code int, err error)
type ResponseWriter ¶ added in v0.2.0
type ResponseWriter struct { http.ResponseWriter // contains filtered or unexported fields }
func Wrap ¶ added in v0.2.0
func Wrap(rw http.ResponseWriter) *ResponseWriter
func (*ResponseWriter) Status ¶ added in v0.2.0
func (rw *ResponseWriter) Status() int32
Click to show internal directories.
Click to hide internal directories.