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.
Click to show internal directories.
Click to hide internal directories.