fiber

package
v0.0.0-...-f5948c0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: MIT, BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Api

func Api(f func())

func RegisterFiberService

func RegisterFiberService(svc ...Service)

func RegisterWithCtx

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

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

Types

type Service

type Service interface {
	//返回描述,url的前缀,中间件
	FiberService() (describe, prefix string, middleware []fiber.Handler)
}

Jump to

Keyboard shortcuts

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