user

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConcreteBlueprint = Blueprint{
	core.Blueprint{
		Name:              "user",
		Description:       "this blueprint is about users",
		MigrationRegistry: migrations.BMigrationRegistry,
	},
}

Functions

This section is empty.

Types

type Blueprint

type Blueprint struct {
	core.Blueprint
}

func (Blueprint) InitApp

func (b Blueprint) InitApp(app core.IApp)

func (Blueprint) InitRouter

func (b Blueprint) InitRouter(app core.IApp, group *gin.RouterGroup)

type ChangePasswordHandlerParams

type ChangePasswordHandlerParams struct {
	OldPassword       string `form:"old_password" json:"old_password" xml:"old_password"  binding:"required"`
	Password          string `form:"password" json:"password" xml:"password"  binding:"required"`
	ConfirmedPassword string `form:"confirm_password" json:"confirm_password" xml:"confirm_password"  binding:"required"`
}

type ForgotPasswordHandlerParams

type ForgotPasswordHandlerParams struct {
	Email string `form:"email" json:"email" xml:"email"  binding:"required" valid:"email"`
}

type PasswordValidationStruct

type PasswordValidationStruct struct {
	Password          string `valid:"password-go-monolith"`
	ConfirmedPassword string
}

type ResetPasswordHandlerParams

type ResetPasswordHandlerParams struct {
	Code              string `form:"code" json:"code" xml:"code"  binding:"required"`
	Password          string `form:"password" json:"password" xml:"password"  binding:"required"`
	ConfirmedPassword string `form:"confirm_password" json:"confirm_password" xml:"confirm_password"  binding:"required"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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