req

package
v0.0.0-...-ef41214 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Password    string `json:"password"`
}

type ProjectCreate

type ProjectCreate struct {
	Project
}

type ProjectUpdate

type ProjectUpdate struct {
	ID uint `json:"id"`
	Project
}

type UserResetPassword

type UserResetPassword struct {
	Email    string `json:"email" binding:"required"`
	Verify   string `json:"verify" binding:"required"`
	Password string `json:"password" binding:"required"`
}

type UserResetPasswordVerify

type UserResetPasswordVerify struct {
	Email string `json:"email" binding:"required"`
}

type UserSignIn

type UserSignIn struct {
	ID       string `form:"userid"`
	Password string `form:"password"`
}

type UserSignUp

type UserSignUp struct {
	Name        string `json:"userid" binding:"required"`
	DisplayName string `json:"name" binding:"required"`
	Email       string `json:"email" binding:"required"`
	Avatar      string `json:"avatar"`
	Password    string `json:"password" binding:"required"`
}

type UserUpdatePassword

type UserUpdatePassword struct {
	Origin string `json:"origin" binding:"required"`
	New    string `json:"new" binding:"required"`
}

type UserUpdateProfile

type UserUpdateProfile struct {
	Name        string `json:"userid" binding:"required"`
	DisplayName string `json:"name" binding:"required"`
	Email       string `json:"email" binding:"required"`
	Avatar      string `json:"avatar"`
}

type UserVerifyEmail

type UserVerifyEmail struct {
	Email      string `json:"email" binding:"required"`
	VerifyCode string `json:"verify_code" binding:"required"`
}

Jump to

Keyboard shortcuts

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