request_schema

package
v0.0.0-...-22617c7 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAccountBody

type CreateAccountBody struct {
	Name       string          `json:"name" binding:"required"`
	Balance    decimal.Decimal `json:"balance"`
	CurrencyID int             `json:"currency_id" binding:"required"`
}

type LoginBody

type LoginBody struct {
	Email    string `json:"email" binding:"required"`
	Password string `json:"password" binding:"required"`
}

type SignUpBody

type SignUpBody struct {
	Email    string `json:"email" binding:"required"`
	Password string `json:"password" binding:"required"`
}

Jump to

Keyboard shortcuts

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