Documentation ¶
Index ¶
- Constants
- func ReplyBinary(w http.ResponseWriter, code int, data io.Reader) error
- func ReplyEmpty(w http.ResponseWriter, code int)
- func ReplyErr(w http.ResponseWriter, code int, err error)
- func ReplyJSON(w http.ResponseWriter, code int, data interface{}) error
- func ReplyXML(w http.ResponseWriter, code int, data interface{}) error
Constants ¶
View Source
const ( LastModified = "Last-Modified" Date = "Date" ETag = "ETag" ContentType = "Content-Type" ContentMD5 = "Content-Md5" ContentEncoding = "Content-Encoding" Expires = "Expires" ContentLength = "Content-Length" ContentLanguage = "Content-Language" ContentRange = "Content-Range" Connection = "Connection" AcceptRanges = "Accept-Ranges" AmzBucketRegion = "X-Amz-Bucket-Region" ServerInfo = "Server" RetryAfter = "Retry-After" Location = "Location" CacheControl = "Cache-Control" ContentDisposition = "Content-Disposition" Authorization = "Authorization" Action = "Action" Range = "Range" )
Variables ¶
This section is empty.
Functions ¶
func ReplyBinary ¶
func ReplyEmpty ¶
func ReplyEmpty(w http.ResponseWriter, code int)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.