handleposts

package
v0.0.0-...-c7849f8 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomObject

func CustomObject(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func ForgotPassword

func ForgotPassword(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func Index

func Login

func MfaLogin

func MfaLogin(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func Profile

func Profile(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func Role

func Signup

func Signup(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func Verify

func Verify(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

Types

type Email

type Email struct {
	Type  string `json:"Type"`
	Value string `json:"Value"`
}

type User

type User struct {
	Email                []Email `json:"Email"`
	Password             string  `json:"Password"`
	PasswordConfirmation string  `json:"Password_confirmation"`
}

Jump to

Keyboard shortcuts

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