controllers

package
v0.0.0-...-41fd8b9 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: MIT Imports: 13 Imported by: 0

README

controllers folder

The controller folder contains all files that have to do with handling client requests.

controllers/auth

The auth file contains all function that have to do with verification, if you need to change any of this here is where you can find it.

controllers/init

The init file contains some global variables used in the controllers folder, like the qb(QueryBuilder) variable.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Changepassword

func Changepassword(w http.ResponseWriter, r *http.Request)

Changepassword handles the changepassword api call

func GetTokenInfo

func GetTokenInfo(w http.ResponseWriter, r *http.Request)

GetTokenInfo handles the token info api call

func Login

func Login(w http.ResponseWriter, r *http.Request)

Login handles the login api call

func Logout

func Logout(w http.ResponseWriter, r *http.Request)

Logout handles the logout api call

func RefreshTokenPost

func RefreshTokenPost(w http.ResponseWriter, r *http.Request)

RefreshTokenPost handles the refresh token api Call

func Register

func Register(w http.ResponseWriter, r *http.Request)

Register handles the register api call

Types

This section is empty.

Jump to

Keyboard shortcuts

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