auth_dto

package
v0.0.0-...-0064678 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: GPL-3.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 BasicResponse

type BasicResponse struct{}

type ErrorResponse

type ErrorResponse struct {
	Message string `json:"message"`
	Code    int    `json:"code"`
}

type LoginUserRequest

type LoginUserRequest struct {
	Email    string `validate:"required,email"`
	Password string `validate:"required"`
}

type LoginUserResponse

type LoginUserResponse struct {
	AuthToken string
	UserID    string
}

type SignupUserRequest

type SignupUserRequest struct {
	Email    string `validate:"required,email"`
	Password string `validate:"required"`
}

type SignupUserResponse

type SignupUserResponse struct {
	AuthToken string
	UserID    string
}

Jump to

Keyboard shortcuts

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