bootstrap

package
v0.0.0-...-2fc92df Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFiber

func NewFiber(cfg *config.Config) *fiber.App

func NewLogger

func NewLogger(cfg *config.Config) *zerolog.Logger

func Start

func Start(
	lifecycle fx.Lifecycle,
	cfg *config.Config,
	routers *router.Router,
	fiber *fiber.App,
	middlewares *middleware.Middleware,
	database *database.Database,
	log *zerolog.Logger,
)

Types

type PreforkHook

type PreforkHook struct{}

Prefork hook for zerolog

func (PreforkHook) Run

func (h PreforkHook) Run(e *zerolog.Event, level zerolog.Level, msg string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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