models

package
v0.0.0-...-45bb23c Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: Apache-2.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 Images

type Images struct {
	ID     string
	Format string
	Name   string
}

Images information about images.

type Request

type Request struct {
	Filename      string    `json:"filename"`
	Status        string    `json:"status"`
	SourceFormat  string    `json:"source_format"`
	TargetFormat  string    `json:"target_format"`
	Ratio         int       `json:"ratio"`
	Created       time.Time `json:"created"`
	Updated       time.Time `json:"updated"`
	OriginalImgID string    `json:"original_img_id"`
	TargetImgID   string    `json:"target_img_id"`
}

Request struct holds request information.

type User

type User struct {
	ID       int    `json:"id" db:"id"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

User contains information about user.

Jump to

Keyboard shortcuts

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