controllers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUser

func CreateUser(c *fiber.Ctx) error

func GetUser

func GetUser(c *fiber.Ctx) error

func GetUsers

func GetUsers(c *fiber.Ctx) error

func Login

func Login(c *fiber.Ctx) error

func Logout

func Logout(c *fiber.Ctx) error

func Protected

func Protected(c *fiber.Ctx) error

Protected content controller

func RefreshToken

func RefreshToken(c *fiber.Ctx) error

func Register

func Register(c *fiber.Ctx) error

Types

type Token

type Token struct {
	RefreshToken string `json:"refresh_token"`
}

Jump to

Keyboard shortcuts

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