pickfiber

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Svcs             = make([]pick.Service[fiber.Handler], 0)
	FiberContextType = reflect.TypeOf((*fiberctx.Context)(nil))
)

Functions

func RegisterService

func RegisterService(svc ...pick.Service[fiber.Handler])

func Start

func Start(engine *fiber.App, genApi bool, modName string)

复用pick service,不支持单个接口的中间件

Types

This section is empty.

Jump to

Keyboard shortcuts

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