Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BANDWIDTH float64 = 1024 * 1024 * 50
View Source
var BUFF_SIZE = 1024 * 1024 // 1 MB
View Source
var COMPRESSED_SUB_FOLDER = "Compressed"
View Source
var CompressedExtensions = []string{
".zip",
".tar",
".gz",
".bz2",
".7z",
".rar",
".xz",
".tgz",
".tbz",
".zipx",
}
View Source
var DEFAULT_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:10.0) Gecko/20100101 Firefox/10.0"
View Source
var DOCUMENT_SUB_FOLDER = "Document"
View Source
var DOWNLOAD_DIRECTORY = "/media/runa/NAS/Downloads"
View Source
var DocumentExtensions = []string{
".pdf",
".doc",
".docx",
".ppt",
".pptx",
".xls",
".xlsx",
".txt",
".csv",
".rtf",
".md",
}
View Source
var FILE_BUFF_SIZE = 1024 * 1024
View Source
var GENERAL_SUB_FOLDER = "General"
View Source
var MUSIC_SUB_FOLDER = "Music"
View Source
var MusicExtensions = []string{
".mp3",
".wav",
".aac",
".ogg",
".flac",
".m4a",
".wma",
".aiff",
".opus",
".mid",
}
View Source
var PROGRAMS_SUB_FOLDER = "Program"
View Source
var ProgramExtensions = []string{
".exe",
".msi",
".apk",
".dmg",
".deb",
".rpm",
".bin",
".jar",
".py",
".sh",
".bat",
}
View Source
var SEGMENT_SIZE int64 = 1024 * 1024 * 5
View Source
var SEG_EXT = ".seg"
View Source
var TEMP_DIRECTORY = "/media/runa/NAS/Downloads/.temp"
View Source
var TEMP_EXT = ".tmpDownload"
var DOWNLOAD_DIRECTORY = "/downloads" var TEMP_DIRECTORY = "/downloads/.temp"
View Source
var VIDEO_SUB_FOLDER = "Video"
View Source
var VideoExtensions = []string{
".mp4",
".avi",
".mov",
".mkv",
".wmv",
".flv",
".webm",
".mpeg",
".mpg",
".3gp",
".m4v",
".ts",
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.