Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct {
// contains filtered or unexported fields
}
func NewChain ¶
func NewChain(constructors ...Constructor) Chain
func (Chain) Append ¶
func (c Chain) Append(constructors ...Constructor) Chain
func (Chain) Then ¶
func (c Chain) Then(h fasthttp.RequestHandler) fasthttp.RequestHandler
func (Chain) ThenFunc ¶
func (c Chain) ThenFunc(fn func(ctx *fasthttp.RequestCtx)) fasthttp.RequestHandler
type Constructor ¶
type Constructor func(fasthttp.RequestHandler) fasthttp.RequestHandler
Click to show internal directories.
Click to hide internal directories.