data_transfer_object_mobile_app_v1

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IUserDTO

type IUserDTO interface {
	Validate() error
}

func NewUserCreateDTO

func NewUserCreateDTO(
	fn string,
	un string,
	p string,
	cp string,
) IUserDTO

func NewUserLoginDTO

func NewUserLoginDTO(
	un string,
	p string,
) IUserDTO

type UserCreate

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

func (*UserCreate) Validate

func (dto *UserCreate) Validate() error

type UserLogin

type UserLogin struct {
	UserName string
	Password string
}

func (*UserLogin) Validate

func (dto *UserLogin) Validate() error

Jump to

Keyboard shortcuts

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