user

package
v0.0.0-...-a297d37 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Me

func Me(c echo.Context) error

func MyName

func MyName(c echo.Context) error

func Session

func Session(c echo.Context) error

func SignIn

func SignIn(c echo.Context) error

func SignOut

func SignOut(c echo.Context) error

func SignUp

func SignUp(c echo.Context) error

Types

type SignInRequest

type SignInRequest struct {
	EmailOrUsername string `form:"email" json:"email" validate:"required"`
	Password        string `form:"password" json:"password" validate:"required"`
}

type SignUpRequest

type SignUpRequest struct {
	Email    string `form:"email" json:"email" validate:"required,email"`
	Username string `form:"username" json:"username" validate:"required"`
	Password string `form:"password" json:"password" validate:"required"`
}

Jump to

Keyboard shortcuts

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