middleware

package
v0.0.0-...-2965246 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Database

func Database(databaseURL string) gin.HandlerFunc

func GetDB

func GetDB(c *gin.Context) *sqlx.DB

func GetQue

func GetQue(c *gin.Context) (*pgx.ConnPool, *que.Client)

func GetSessionStore

func GetSessionStore(c *gin.Context) *sessions.CookieStore

func Que

func Que(pgxpool *pgx.ConnPool, qc *que.Client) gin.HandlerFunc

func SessionStore

func SessionStore(authKey, encryptKey string) gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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