Documentation ¶
Index ¶
- Variables
- func BlocksInFull(blocks []uuid.UUID, sizes []int64) (offsets [][]int64, lengths [][]int64)
- func BlocksOfRange(blocks []uuid.UUID, sizes []int64, r Range) (offsets [][]int64, lengths [][]int64)
- func Digits(int64s ...int64) (n int64)
- func WriteFooter(w io.Writer, boundary string) (err error)
- func WriteHeader(w io.Writer, offset, length, size int64, boundary, mime string) (err error)
- type Range
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOverlap = errors.New("ranges overlap")
Functions ¶
func BlocksInFull ¶
func BlocksOfRange ¶
Types ¶
type Range ¶
type Range = http_range.Range
Click to show internal directories.
Click to hide internal directories.