ui

package
v0.0.0-...-e650048 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorHandler

func ErrorHandler(ctx *fiber.Ctx, err error) error

A custom Fiber error handler which renders a simple web page.

func Init

func Init(router *fiber.App)

Configure a router and use a logger for the UI. Initializes routes and view models.

func NewEngine

func NewEngine() *html.Engine

Initializes Fiber view engine with embedded HTML templates from views/.

Types

This section is empty.

Jump to

Keyboard shortcuts

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