routes

package
v0.7.0-free-palestine Latest Latest
Warning

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

Go to latest
Published: Nov 19, 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,
	conf *cfg.Config,
	dbConn *sqlx.DB,
	neo4jConn *neo4j.DriverWithContext,
	app *fiber.App,
	fzlog *fiber.Handler,
	identity *age.X25519Identity,
) 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 SetupNoScript

func SetupNoScript(app *fiber.App) error

func SetupProfiles

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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