data

package
v0.0.0-...-1551971 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 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 CreateAccountRequest

type CreateAccountRequest struct {
	Email     string `json:"email"`
	Password  string `json:"password"`
	FirstName string `json:"first_name"`
	LastName  string `json:"last_name"`
}

CreateAccountRequest --

type CreateAccountResponse

type CreateAccountResponse struct {
	UserID      int64  `json:"user_id"`
	AccessToken string `json:"access_token"`
}

CreateAccountResponse --

type CreateAdminAccountRequest

type CreateAdminAccountRequest struct {
	Email     string `json:"email"`
	Password  string `json:"password"`
	FirstName string `json:"first_name"`
	LastName  string `json:"last_name"`
}

CreateAdminAccountRequest --

type CreateAdminAccountResponse

type CreateAdminAccountResponse struct {
	UserID      int64  `json:"user_id"`
	AccessToken string `json:"access_token"`
}

CreateAdminAccountResponse --

type LoginRequest

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

LoginRequest --

type LoginResponse

type LoginResponse struct {
	UserID      int64  `json:"user_id"`
	AccessToken string `json:"access_token"`
}

LoginResponse --

Jump to

Keyboard shortcuts

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