handler

package
v0.0.0-...-8e9d022 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const MaxAge = 100

Variables

This section is empty.

Functions

This section is empty.

Types

type Hello

type Hello struct{}

func NewHello

func NewHello() Hello

func (Hello) Get

func (h Hello) Get(c *fiber.Ctx) error

nolint: wrapcheck

func (Hello) Register

func (h Hello) Register(group fiber.Router)

type Static

type Static struct {
	FS http.FileSystem
}

func NewStatic

func NewStatic(path string, embed fs.FS) Static

func (Static) Register

func (s Static) Register(group fiber.Router)

Jump to

Keyboard shortcuts

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