handlers

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaxFileNameLength is the maximum file length which can be uploaded
	MaxFileNameLength = 256
)

Variables

This section is empty.

Functions

func HandleComplete

func HandleComplete(c *gin.Context)

HandleComplete handles a completed upload

func HandleConfigWith added in v0.3.1

func HandleConfigWith(version, commit, date string) func(*gin.Context)

HandleConfigWith returns runtime configuration to the frontend

func HandleDownload added in v0.2.0

func HandleDownload(c *gin.Context)

HandleDownload handles a request for downloading a file

func HandleHealthz added in v0.5.0

func HandleHealthz(c *gin.Context)

HandleHealthz is Gose's health check handler

func HandleInitiate

func HandleInitiate(c *gin.Context)

HandleInitiate initiates a new upload

func HandlePart added in v0.3.0

func HandlePart(c *gin.Context)

HandlePart initiates a new upload

Types

This section is empty.

Jump to

Keyboard shortcuts

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