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.