Documentation
¶
Overview ¶
Package download handles the client file downloads.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNone = errors.New("not found") ErrStat = errors.New("file download stored on this server cannot be found") )
Functions ¶
Types ¶
type Download ¶
type Download struct {
Dir dir.Directory // Dir is the absolute path to the download directory.
Inline bool // Inline is true if the file should attempt to display in the browser.
}
Download configuration.
type ExtraZip ¶ added in v0.9.0
type ExtraZip struct {
Extra dir.Directory // Extra is the absolute path to the extra directory.
Download dir.Directory // Download is the absolute path to the download directory.
}
ExtraZip configuration.
Click to show internal directories.
Click to hide internal directories.