handlers

package
v0.0.0-...-bc44ad8 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(db *gorm.DB, days int) gin.HandlerFunc

func Authorize

func Authorize(db *gorm.DB, secret string) gin.HandlerFunc

func Logout

func Logout(db *gorm.DB) gin.HandlerFunc

func Register

func Register(db *gorm.DB, cost int) 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