pickfiber

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FiberContextType = reflect.TypeOf((*fiberctx.Context)(nil))
)

Functions

func DocList added in v1.5.0

func DocList(ctx fiber.Ctx) error

func Register added in v1.5.1

func Register(engine *fiber.App, svcs ...pick.Service[fiber.Handler])

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

Types

type Writer added in v1.8.7

type Writer struct {
	fiber.Ctx
}

func (Writer) Header added in v1.9.0

func (w Writer) Header() httpx.Header

func (Writer) Status added in v1.8.7

func (w Writer) Status(code int)

func (Writer) Write added in v1.8.7

func (w Writer) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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