Documentation
¶
Index ¶
- Variables
- type Chain
- type Context
- func (c *Context) Abort()
- func (c *Context) AbortWithError(err error)
- func (c *Context) Error() error
- func (c *Context) Get() (any, bool)
- func (c *Context) IsAborted() bool
- func (c *Context) Load() (any, bool)
- func (c *Context) Next()
- func (c *Context) Request() (any, bool)
- func (c *Context) Set(v any)
- func (c *Context) Store(v any)
- type Handler
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTooManyHandle = errors.New("too many handlers, at most 63 handlers is allowed") ErrNoHandle = errors.New("chain has no handlers, forget call Use()?") )
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.