routes

package
v0.0.0-...-3bb77e7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaximumSize10MB body limit 1 mb.
	MaximumSize10MB = 10 * 1024 * 1024
	// MaximumSize1MB body limit 1 mb.
	MaximumSize1MB = 1 * 1024 * 1024
	// Timeout timeout 5 seconds
	Timeout5s = 5 * time.Second
	// Timeout timeout 10 seconds
	Timeout10s = 10 * time.Second
)

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(app *fiber.App)

NewRouter new router

func NewServer

func NewServer() *fiber.App

NewServer new server

Types

This section is empty.

Jump to

Keyboard shortcuts

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