auth

package
v0.0.0-...-c111925 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Routes = fiber.New()

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	Email    string `form:"email"`
	Password string `form:"password"`
}

type UserInfo

type UserInfo struct {
	ID    int
	Email string
}

func GetUser

func GetUser(c *fiber.Ctx) *UserInfo

Jump to

Keyboard shortcuts

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