server

package
v0.0.0-...-a074a60 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(app *fiber.App) *fiber.App

func NotFoundMiddleware

func NotFoundMiddleware(c *fiber.Ctx) error

func Render

func Render(c *fiber.Ctx, component templ.Component, options ...func(*templ.ComponentHandler)) error

Types

type ErrorResponse

type ErrorResponse struct {
	Error   string `json:"error"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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