Documentation ¶
Index ¶
Constants ¶
View Source
const MAX_FILES_PER_USER = math.MaxInt
The max number of files a user can have in the bucket under their folder at any time
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { Repo *repository.Repository Redis *database.RedisWrapper S3 *s3.S3 }
func (*Controller) HandleHealth ¶
func (c *Controller) HandleHealth(w http.ResponseWriter, r *http.Request)
Health check endpoint
func (*Controller) HandleUpload ¶
func (c *Controller) HandleUpload(w http.ResponseWriter, r *http.Request)
Handle upload
Click to show internal directories.
Click to hide internal directories.