package
1.4.1
Repository: https://github.com/vimeo/go-util.git
Documentation: pkg.go.dev

# Functions

FormatRequest constructs a string suitable for using as a Range header.
FormatResponse constructs a string suitable for using as a Content-Range header.
ParseRequest parses an incoming Range header.
ParseResponse parses a Content-Range header, expecting it to be a bytes range.

# Variables

ErrNotByteUnit is returned from "Parse" functions if the returned unit type is not "bytes".

# Structs

Bytes is the bytes range type specified in the RFC.