Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessLog ¶
type AccessLog struct{}
func NewAccessLog ¶
func (*AccessLog) MiddlewareFunc ¶
func (l *AccessLog) MiddlewareFunc(handler rest.HandlerFunc) rest.HandlerFunc
type FieldFunc ¶ added in v1.9.0
func NewMD5FieldFunc ¶ added in v1.9.0
func NewRawFieldFunc ¶ added in v1.9.0
type Header ¶ added in v1.9.0
type Header struct {
HeaderFieldFuncs StringFieldFuncMap
}
func (*Header) AddHeaderFieldFunc ¶ added in v1.9.0
func (*Header) MiddlewareFunc ¶ added in v1.9.0
func (h *Header) MiddlewareFunc(handler rest.HandlerFunc) rest.HandlerFunc
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) MiddlewareFunc ¶
func (l *Logger) MiddlewareFunc(handler rest.HandlerFunc) rest.HandlerFunc
type Recover ¶
type Recover struct{}
func NewRecover ¶
func (*Recover) MiddlewareFunc ¶
func (r *Recover) MiddlewareFunc(handler rest.HandlerFunc) rest.HandlerFunc
type StringFieldFuncMap ¶ added in v1.9.0
type Trace ¶
type Trace struct{}
func (*Trace) MiddlewareFunc ¶
func (l *Trace) MiddlewareFunc(handler rest.HandlerFunc) rest.HandlerFunc
Click to show internal directories.
Click to hide internal directories.