dto

package
v0.0.0-...-ff63446 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MPL-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 DTOBadaasServerInfo

type DTOBadaasServerInfo struct {
	Status  string `json:"status"`
	Version string `json:"version"`
}

Describe the Server Info payload

type DTOHTTPError

type DTOHTTPError struct {
	Error   string `json:"err"`
	Message string `json:"msg"`
	Status  string `json:"status"`
}

Describe the HTTP Error payload

type DTOLoginSuccess

type DTOLoginSuccess struct {
	Email    string `json:"email"`
	ID       string `json:"id"`
	Username string `json:"username"`
}

DTOLoginSuccess is a dto returned to the client when the authentication is successful.

type UserLoginDTO

type UserLoginDTO struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

Login DTO

Jump to

Keyboard shortcuts

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