schema

package
v0.0.0-...-410c955 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthResponse

type HealthResponse struct {
	R    string    `json:"r"`
	Time time.Time `json:"time"`
}

type HelloResponse

type HelloResponse struct {
	Now  time.Time   `json:"now"`
	User models.User `json:"user"`
}

type LoginRequest

type LoginRequest struct {
	Email         string `json:"email"`
	PasswordPlain string `json:"password_plain"`
}

type LoginResponse

type LoginResponse struct {
	Bearer string `json:"bearer"`
}

type RegisterRequest

type RegisterRequest struct {
	Email         string `json:"email"`
	PasswordPlain string `json:"password_plain"`
	Name          string `json:"name"`
}

type RegisterResponse

type RegisterResponse struct {
	User *models.User `json:"user,omitempty"`
}

Jump to

Keyboard shortcuts

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