request_v1_mobile

package
v0.0.0-...-d222c98 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IUserRequest

type IUserRequest interface {
	Validate(r *http.Request) (dto.IUserDTO, error)
}

IUserRequest ...

type UserCreate

type UserCreate struct {
	FullName        string
	UserName        string
	Password        string
	ConfirmPassword string
}

func (*UserCreate) Validate

func (req *UserCreate) Validate(r *http.Request) (dto.IUserDTO, error)

type UserLogin

type UserLogin struct {
	UserName string
	Password string
}

func (*UserLogin) Validate

func (req *UserLogin) Validate(r *http.Request) (dto.IUserDTO, error)

Jump to

Keyboard shortcuts

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