web

package
v0.16.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 32 Imported by: 0

README

req

请求

res

响应

session

session manager

rate

登录限流

middleware

  • middleware/ua 检查请求 User-Agent
  • middleware/origin 检查请求 Origin
  • middleware/recovery panic-recover

handler

路由

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(lc fx.Lifecycle, c config.AppConfig, app *fiber.App)

func New

func New(scope tally.Scope, reporter promreporter.Reporter) *fiber.App

func ResistRouter

func ResistRouter(app *fiber.App, h handler.Handler, scope tally.Scope)

ResistRouter add all router and default 404 Handler to app.

Types

This section is empty.

Directories

Path Synopsis
middleware
ua
res

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL