api

package
v0.0.0-...-e2fe045 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateQRCode

func CreateQRCode() http.HandlerFunc

func DeleteEntry

func DeleteEntry(cfg *config.Config, db *database.DB) http.HandlerFunc

func DeleteUser

func DeleteUser(cfg *config.Config, db *database.DB) http.HandlerFunc

func EditEntry

func EditEntry(edit bool, cfg *config.Config, db *database.DB) http.HandlerFunc

func Location

func Location(db *database.DB) http.HandlerFunc

func Login

func Login(cfg *config.Config, db *database.DB) http.HandlerFunc

func Logout

func Logout(cfg *config.Config, db *database.DB) http.HandlerFunc

func NewPassword

func NewPassword(cfg *config.Config, db *database.DB) http.HandlerFunc

func RefreshSession

func RefreshSession(cfg *config.Config, db *database.DB) http.HandlerFunc

func Register

func Register(cfg *config.Config, db *database.DB, taskDistributor worker.TaskDistributor) http.HandlerFunc

func ResendEmailVerification

func ResendEmailVerification(cfg *config.Config, db *database.DB, taskDistributor worker.TaskDistributor) http.HandlerFunc

func ResetPassword

func ResetPassword(cfg *config.Config, db *database.DB, taskDistributor worker.TaskDistributor) http.HandlerFunc

func SettingsCancelNewPassword

func SettingsCancelNewPassword(cfg *config.Config, db *database.DB) http.HandlerFunc

func SettingsNewPassword

func SettingsNewPassword(cfg *config.Config, db *database.DB) http.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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