controllers

package
v0.0.0-...-edf4884 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImage

func GetImage(c *gin.Context)

func Post

func Post(c *gin.Context)

Types

type ImageParams

type ImageParams struct {
	MaxWidth  int    `form:"maxWidth" binding:"gte=0,lte=2560"`
	MaxHeight int    `form:"maxHeight" binding:"gte=0,lte=1600"`
	File      string `form:"file" binding:"required,endswith=.jpg"`
}

Jump to

Keyboard shortcuts

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