Documentation
¶
Index ¶
Constants ¶
View Source
const (
MAX_FILE_SIZE = 10 << 20
)
Variables ¶
Functions ¶
func NewUserResponse ¶
Types ¶
type CreateUserRequest ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) SetupRoutes ¶
type TransformRequest ¶
type TransformRequest struct {
Transformations struct {
Resize *struct {
Width int `json:"width"`
Height int `json:"height"`
} `json:"resize"`
Crop *struct {
Width int `json:"width"`
Height int `json:"height"`
X int `json:"x"`
Y int `json:"y"`
} `json:"crop"`
Rotate *float64 `json:"rotate"`
Format *string `json:"format"`
Filters *struct {
Grayscale bool `json:"grayscale"`
Sepia bool `json:"sepia"`
} `json:"filters"`
} `json:"transformations"`
}
Click to show internal directories.
Click to hide internal directories.