router

package
v0.0.0-...-bd5dacb Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogger

func InitLogger() (*zap.Logger, error)

InitLogger initializes custom Zap logger configuration.

func Run

func Run(db *db.DB, logger *zap.Logger, templatesPath string) error

Run starts HTTP server.

func Setup

func Setup(db *db.DB, logger *zap.Logger, templatesPath string) (*fiber.App, error)

Setup returns a Fiber App instance

Types

This section is empty.

Jump to

Keyboard shortcuts

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