auth

package
v0.0.0-...-b531804 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Jwt

func Jwt(c *fiber.Ctx) error

func Protected

func Protected() []fiber.Handler

func SignIn

func SignIn(c *fiber.Ctx) error

func SignUp

func SignUp(c *fiber.Ctx) error

Types

type Input

type Input struct {
	UserName string `json:"username" validate:"required,min=3,max=32"`
	Password string `json:"password" validate:"required,min=6"`
}

Jump to

Keyboard shortcuts

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