api

package
v0.0.0-...-8798775 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 16 Imported by: 1

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

Jump to

Keyboard shortcuts

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