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 (a *AccessLog) MiddlewareFunc(handler rest.HandlerFunc) rest.HandlerFunc
MiddlewareFunc adds logging of all calls, except those ignored above.
type Auth ¶ added in v1.20.0
type Auth struct {
// contains filtered or unexported fields
}
func (*Auth) MiddlewareFunc ¶ added in v1.20.0
func (a *Auth) MiddlewareFunc(handlerFunc rest.HandlerFunc) rest.HandlerFunc
type Error ¶ added in v1.28.0
type Error struct{}
func (*Error) MiddlewareFunc ¶ added in v1.28.0
func (e *Error) 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 Trace ¶
type Trace struct{}
func (*Trace) MiddlewareFunc ¶
func (t *Trace) MiddlewareFunc(handler rest.HandlerFunc) rest.HandlerFunc
Click to show internal directories.
Click to hide internal directories.