Documentation ¶
Overview ¶
Package httpranger implements lazy io.Reader and io.Writer interfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidRange = errs.Class("invalid range")
ErrInvalidRange is an error returned when an invalid HTTP range is requested.
View Source
var Error = errs.Class("ranger")
Error is the errs class of standard Ranger errors.
Functions ¶
func HTTPRanger ¶
HTTPRanger turns an HTTP URL into a Ranger.
func HTTPRangerSize ¶
HTTPRangerSize creates an HTTPRanger with known size. Use it if you know the content size. This will safe the extra HEAD request for retrieving the content size.
Types ¶
Click to show internal directories.
Click to hide internal directories.