initialization

package
v0.0.0-...-683df67 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDb

func InitDb() (*gorm.DB, error)

TODO: add logger later

func InitRouting

func InitRouting(db *gorm.DB, sessionManager *scs.SessionManager) *chi.Mux

TODO: Add logger later

func IntSessionManager

func IntSessionManager() *scs.SessionManager

IntSessionManager function create session manager and int configuration Docs: https://pkg.go.dev/github.com/alexedwards/scs#section-readme

Types

This section is empty.

Jump to

Keyboard shortcuts

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