http

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeFile added in v0.6.0

func ServeFile(c *gin.Context, code int, filename string, content []byte)

ServeFile is a variation of the Gin Web Framework FileAttachment to support serving of a file for download from a []byte. https://github.com/gin-gonic/gin/blob/v1.10.0/context.go#L1097

Types

type QueryFilter

type QueryFilter = map[string][]string

func ParseQueryFilter

func ParseQueryFilter(c *gin.Context) (QueryFilter, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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