Documentation ¶
Index ¶
Constants ¶
View Source
const ViewAPI = 2
ViewAPI is the identifier for the API menu
View Source
const ViewLogs = 1
ViewLogs is the identifier for the log viewer menu
View Source
const ViewMain = 0
ViewMain is the identifier for the main menu
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DownloadView ¶
type DownloadView struct { Name string Size string Id string Cipher string PublicName string BaseUrl string IsFailedLogin bool IsAdminView bool IsDownloadView bool IsPasswordView bool ClientSideDecryption bool EndToEndEncryption bool UsesHttps bool }
DownloadView contains parameters for the download template
type LoginView ¶
type LoginView struct { IsFailedLogin bool IsAdminView bool IsDownloadView bool User string PublicName string }
LoginView contains variables for the login template
type UploadView ¶
type UploadView struct { Items []models.FileApiOutput ApiKeys []models.ApiKey ServerUrl string DefaultPassword string Logs string PublicName string IsAdminView bool IsDownloadView bool IsApiView bool IsLogoutAvailable bool DefaultUnlimitedDownload bool DefaultUnlimitedTime bool EndToEndEncryption bool IncludeFilename bool MaxFileSize int DefaultDownloads int DefaultExpiry int ActiveView int ChunkSize int MaxParallelUploads int TimeNow int64 }
UploadView contains parameters for the admin menu template
Click to show internal directories.
Click to hide internal directories.