app

package
v0.0.0-...-606800a Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2021 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitApp

func InitApp(c *config.Config) (*util.AppRouter, *models.StereoDoseDB)

InitApp puts together the Router to use as the app's main HTTP handler

func UserContextMiddleware

func UserContextMiddleware(next http.Handler) http.Handler

UserContextMiddleware inspects the cookie and adds the user to the context For this middleware to work, the user must be authenticated

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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