routes

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(
	logger *zerolog.Logger,
	fzlog fiber.Handler,
	conf *cfg.Config,
	dbConn *sqlx.DB,
	app *fiber.App,
	sess *session.Store,
) error

Setup handles all the routes for the application It receives the configuration, logger and db connection from main and then passes them to the controllers

func SetupProfiles

func SetupProfiles(
	logger *zerolog.Logger,
	conf *cfg.Config,
	dbConn *sqlx.DB,
	app *fiber.App,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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