constants

package
v0.0.0-...-4711403 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MPL-2.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

View Source
const (
	Null  = "null"
	True  = "true"
	False = "false"
)

The image package use some of those values as default and bind the query params corresponding to them the database package then use the passed query params to generate the query dynamically they are located in database package to avoid any circular import

View Source
const (
	Favorites  = "FAVORITES"
	UploadedAt = "UPLOADED_AT"
	LikedAt    = "LIKED_AT"
	Random     = "RANDOM"
)
View Source
const (
	Landscape = "LANDSCAPE"
	Portrait  = "PORTRAIT"
)
View Source
const GifWarning = "" /* 127-byte string literal not displayed */
View Source
const IPCError = "Something went wrong with the IPC request"
View Source
const ImageIdMissing = "Bad Request, image_id is a required parameter, please format it in a json like format inside the request body."
View Source
const ManyLimit = "30"
View Source
const NotFoundMessage = "No image found matching the criteria given."
View Source
const UserIdNotFoundError = "Please Provide an existing user id"

Variables

View Source
var BlacklistedError = errors.New("you are not allowed to do this action, you have been blacklisted")

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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