Documentation ¶
Index ¶
- Constants
- Variables
- func BadRequestError(c echo.Context, message string) error
- func BadRequestErrorWithCode(c echo.Context, errCode int, message string) error
- func Error(c echo.Context, message string) error
- func ErrorWithCode(c echo.Context, errCode int, message string) error
- func OK(c echo.Context) error
- func UploadImageToAzureBlob(c echo.Context, bs *azure.BlobService, azureContainer string, formName string, ...) (string, error)
Constants ¶
View Source
const ( ErrorCodeBadUploadFileSize = 1300000 ErrorCodeUnknownImageType = 1300001 )
Variables ¶
View Source
var (
ErrorNotAnHEICImage = errors.New("not an HEIC image")
)
Functions ¶
func BadRequestError ¶
func BadRequestErrorWithCode ¶
func ErrorWithCode ¶
func UploadImageToAzureBlob ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.