debug

package
v2.0.0-beta.14 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(path string, handler any, handlers ...fiber.Handler)

func App

func App() *fiber.App

func Delete

func Delete(path string, handler any, handlers ...fiber.Handler)

func Get

func Get(path string, handler any, handlers ...fiber.Handler)

func Group

func Group(prefix string, handlers ...fiber.Handler)
func Head(path string, handler any, handlers ...fiber.Handler)

func Patch

func Patch(path string, handler any, handlers ...fiber.Handler)

func Post

func Post(path string, handler any, handlers ...fiber.Handler)

func Put

func Put(path string, handler any, handlers ...fiber.Handler)

func Route

func Route(prefix string, fn func(router fiber.Router), name ...string)

func Static

func Static(prefix, root string, config ...static.Config)

func Wrap

func Wrap(h http.Handler) fiber.Handler

func WrapFunc

func WrapFunc(h http.HandlerFunc) fiber.Handler

Types

type Config

type Config struct {
	Debug struct {
		Password string `yaml:"password"`
	} `yaml:"debug"`
}

Directories

Path Synopsis
Package featurehttp 提供 feature flags 的 HTTP 调试接口
Package featurehttp 提供 feature flags 的 HTTP 调试接口

Jump to

Keyboard shortcuts

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