fiber

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Context

func Context() gofiber.Handler

func CreateApplication

func CreateApplication(appName string, displayInfo bool, logger zerolog.Logger) *gofiber.App

func Error

func Error(logger zerolog.Logger) gofiber.ErrorHandler

func NotFound

func NotFound() gofiber.Handler

func RunServer

func RunServer(ip string, port int, app *gofiber.App)

Types

type ErrorResponse

type ErrorResponse struct {
	Message any `json:"message,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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