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.
Click to show internal directories.
Click to hide internal directories.