api

package
v0.0.0-...-65dd222 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfictError *echo.HTTPError = echo.NewHTTPError(http.StatusConflict, "Content Already Exists")
View Source
var CouldNotUnmarshalBodyError *echo.HTTPError = echo.NewHTTPError(http.StatusBadRequest, "Could Not Unmarshall Body")
View Source
var FailedAuthentication *echo.HTTPError = echo.NewHTTPError(http.StatusUnauthorized, "Invalid, Empty or Expired Token")
View Source
var FailedLoginAttempt *echo.HTTPError = echo.NewHTTPError(http.StatusUnauthorized, "Failed Login Attempt: Invalid Email or Password.")
View Source
var Forbidden *echo.HTTPError = echo.NewHTTPError(http.StatusForbidden, "Forbidden operation")

Functions

func ArticleNotFound

func ArticleNotFound(identifier string) *echo.HTTPError

func CommentNotFound

func CommentNotFound(identifier string) *echo.HTTPError

func FollowerRelationshipNotFound

func FollowerRelationshipNotFound(followed, follower string) *echo.HTTPError

func InternalError

func InternalError(internal error) *echo.HTTPError

func InvalidFieldError

func InvalidFieldError(field string, value any) *echo.HTTPError

func InvalidFieldLimit

func InvalidFieldLimit(field string, validationName string, validationSize string) *echo.HTTPError

func InvalidImageURLError

func InvalidImageURLError(imageURL, contentType string) *echo.HTTPError

func RequiredFieldError

func RequiredFieldError(field string) *echo.HTTPError

func RequiredOneOfFields

func RequiredOneOfFields(fields []string) *echo.HTTPError

func UnexpectedTokenSigningMethod

func UnexpectedTokenSigningMethod(algName string) *echo.HTTPError

func UniqueFieldError

func UniqueFieldError(field string) *echo.HTTPError

func UserNotFound

func UserNotFound(identifier string) *echo.HTTPError

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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