Documentation ¶
Index ¶
Constants ¶
View Source
const ViewAPI = 2
View Source
const ViewLogs = 1
View Source
const ViewMain = 0
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DownloadView ¶
type DownloadView struct { Name string Size string Id string IsFailedLogin bool IsAdminView bool ClientSideDecryption bool EndToEndEncryption bool UsesHttps bool Cipher string }
DownloadView contains parameters for the download template
type UploadView ¶
type UploadView struct { Items []models.FileApiOutput ApiKeys []models.ApiKey Url string HotlinkUrl string GenericHotlinkUrl string TimeNow int64 IsAdminView bool IsApiView bool MaxFileSize int IsLogoutAvailable bool DefaultDownloads int DefaultExpiry int DefaultPassword string DefaultUnlimitedDownload bool DefaultUnlimitedTime bool EndToEndEncryption bool ActiveView int Logs string }
UploadView contains parameters for the admin menu template
Click to show internal directories.
Click to hide internal directories.