server

package
v0.0.0-...-8253c4d Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(app *fiber.App, config *utils.Config) *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"`
}

Source Files

  • server.go

Jump to

Keyboard shortcuts

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