Documentation ¶
Overview ¶
Package content enables one to serve a data range out of a http requested file. It is useful for media that are susceptible to a range request such as audio or video files.
Example: https://stackoverflow.com/questions/8293687/sample-http-range-request-session
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is an adapter for xhttp of a net/http handler that serves content. For further information, please refer to https://golang.org/pkg/net/http/#ServeContent
Click to show internal directories.
Click to hide internal directories.