request

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestFormFile

type RequestFormFile struct {
	File          multipart.File
	ContentType   string
	ContentLength int64
}

RequestFormFile is the metadata we get from the file which is requested to be uploaded.

type RequestMetadata

type RequestMetadata struct {
	Expiration int64 `json:"expiration"`
}

func GetMetadata

func GetMetadata(form *multipart.Form) *RequestMetadata

Jump to

Keyboard shortcuts

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