request

package
v0.0.0-...-69e7fd1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorize

type Authorize struct {
	Login      string `form:"login"    json:"login"    validate:"required,min=3,email"`
	Password   string `form:"password" json:"password" validate:"required,gte=5,lte=24"`
	IsRemember bool   `form:"remember" json:"remember"`
}

type ForgotPassword

type ForgotPassword struct {
	Login string `form:"login" json:"login" validate:"required,min=3,email"`
}

type ResetPassword

type ResetPassword struct {
	Hash     string `form:"hash"     json:"hash"`
	Password string `form:"password" json:"password" validate:"required,gte=5,lte=24"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳