Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrHandlers ¶
type ErrHandlers struct {
// contains filtered or unexported fields
}
func NewErrHandlers ¶ added in v0.9.2
func NewErrHandlers() *ErrHandlers
func (*ErrHandlers) Set ¶ added in v0.9.2
func (e *ErrHandlers) Set(code status.Code, handler Handler)
func (*ErrHandlers) SetUniversal ¶ added in v0.9.2
func (e *ErrHandlers) SetUniversal(universal Handler)
type MethodsMap ¶
type Middleware ¶
Middleware works like a chain of nested calls, next may be even directly handler. But if we are not a closing middleware, we will call next middleware that is simply a partial middleware with already provided next
Click to show internal directories.
Click to hide internal directories.