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 { Path string // Path 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 { ExtraPath string // ExtraPath is the absolute path to the extra directory. DownloadPath string // DownloadPath is the absolute path to the download directory. }
ExtraZip configuration.
Click to show internal directories.
Click to hide internal directories.