Documentation ¶ Index ¶ Constants Variables func Browse(d string) (http.Handler, error) func Download(d string) (http.Handler, error) func Fetch(r, d string) (http.Handler, error) func Limit(h http.Handler, n int, addrs ...string) http.Handler func Monitor(gs []string) (http.Handler, error) type Mime func (m Mime) MainType() string func (m Mime) String() string func (m Mime) SubType() string Constants ¶ View Source const ( MimeOctet = Mime("application/octet-stream") MimeGif = Mime("image/gif") MimeJPG = Mime("image/jpeg") MimePNG = Mime("image/png") MimeCSV = Mime("text/csv") ) Variables ¶ View Source var ( ErrNotModified = errors.New("not modified") ErrNotFound = errors.New("not found") ErrNotImplemented = errors.New("not implemented") ) Functions ¶ func Browse ¶ func Browse(d string) (http.Handler, error) func Download ¶ func Download(d string) (http.Handler, error) func Fetch ¶ func Fetch(r, d string) (http.Handler, error) func Limit ¶ func Limit(h http.Handler, n int, addrs ...string) http.Handler func Monitor ¶ func Monitor(gs []string) (http.Handler, error) Types ¶ type Mime ¶ type Mime string func (Mime) MainType ¶ func (m Mime) MainType() string func (Mime) String ¶ func (m Mime) String() string func (Mime) SubType ¶ func (m Mime) SubType() string Source Files ¶ View all Source files archive.go browse.go fetch.go limit.go monitor.go Click to show internal directories. Click to hide internal directories.