bootstrap

package
v0.0.0-...-7d6db92 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 15 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, fiber *fiber.App, router *router.Router, 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