output

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JSON         = "application/json"
	Text         = "text/plain"
	Zip          = "application/zip"
	OctetStream  = "application/octet-stream"
	FileTransfer = "File Transfer"
	Binary       = "binary"
)

Variables

This section is empty.

Functions

func Write

func Write(w http.ResponseWriter, mime, content string)

func WriteJSON

func WriteJSON(w http.ResponseWriter, i interface{})

func WriteZip

func WriteZip(w http.ResponseWriter, blob repository.Blob)

Types

This section is empty.

Jump to

Keyboard shortcuts

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