server

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package server contains basic setup functions to start up the web server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupRouter

func SetupRouter(DB db.Database) (*gin.Engine, error)

SetupRouter takes the database and sets up all routes with their associated closure callbacks

It returns an error if any validation fails to be registered

Types

This section is empty.

Directories

Path Synopsis
controllers
Package middleware contains useful middleware handlers
Package middleware contains useful middleware handlers
models
views

Jump to

Keyboard shortcuts

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