Documentation
ΒΆ
Index ΒΆ
- func Banner(addr string) string
- func CenterText(text string, addr ...string) string
- type App
- func (a *App) Add(methods []string, path string, handler core.Handler, handlers ...core.Handler) *core.Route
- func (a *App) All(path string, h core.Handler, hs ...core.Handler) *core.Route
- func (a *App) Connect(path string, h core.Handler, hs ...core.Handler) *core.Route
- func (a *App) Delete(path string, h core.Handler, hs ...core.Handler) *core.Route
- func (a *App) Get(path string, h core.Handler, hs ...core.Handler) *core.Route
- func (a *App) GetMiddleware() []core.Handler
- func (a *App) GetRouter() *router.Router
- func (a *App) GetRoutes() []*core.Route
- func (a *App) Group(prefix string, handlers ...core.Handler) core.Router
- func (a *App) Handler() fasthttp.RequestHandler
- func (a *App) Head(path string, h core.Handler, hs ...core.Handler) *core.Route
- func (a *App) InitEmptyEngine() *core.EngineContext
- func (a *App) Options(path string, h core.Handler, hs ...core.Handler) *core.Route
- func (a *App) Patch(path string, h core.Handler, hs ...core.Handler) *core.Route
- func (a *App) Post(path string, h core.Handler, hs ...core.Handler) *core.Route
- func (a *App) Put(path string, h core.Handler, hs ...core.Handler) *core.Route
- func (a *App) Route(path string) *core.Route
- func (a *App) RoutesInfo() []map[string]string
- func (a *App) RunServer(addr string) error
- func (a *App) SetRoutes(routes []*core.Route)
- func (a *App) Trace(path string, h core.Handler, hs ...core.Handler) *core.Route
- func (a *App) Use(args ...any) core.Router
- func (a *App) WithPubsub(ctx *core.EngineContext)
- func (a *App) WithQueue(ctx *core.EngineContext)
- func (a *App) WrapHandlers(handlers []core.Handler) fasthttp.RequestHandler
Constants ΒΆ
This section is empty.
Variables ΒΆ
This section is empty.
Functions ΒΆ
func CenterText ΒΆ
Types ΒΆ
type App ΒΆ
type App struct {
// contains filtered or unexported fields
}
func (*App) GetMiddleware ΒΆ
func (*App) Handler ΒΆ
func (a *App) Handler() fasthttp.RequestHandler
func (*App) InitEmptyEngine ΒΆ
func (a *App) InitEmptyEngine() *core.EngineContext
func (*App) RoutesInfo ΒΆ
func (*App) WithPubsub ΒΆ
func (a *App) WithPubsub(ctx *core.EngineContext)
func (*App) WithQueue ΒΆ
func (a *App) WithQueue(ctx *core.EngineContext)
func (*App) WrapHandlers ΒΆ
func (a *App) WrapHandlers(handlers []core.Handler) fasthttp.RequestHandler
Click to show internal directories.
Click to hide internal directories.