Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTokenNotSet = errors.New("bot token not set") ErrInvalidYoutubeDlPath = errors.New("invalid youtube-dl path") ErrInvalidFfmpegPath = errors.New("invalid FFmpeg path") ErrYoutubeDlNotFound = errors.New("youtube-dl not found, please install it from https://youtube-dl.org/ first") ErrFfmpegNotFound = errors.New("FFmpeg not found, please install it from https://ffmpeg.org first") ErrPythonNotInstalled = errors.New("python not installed") )
View Source
var ( ErrUnsupportedOSAndArch = errors.New("no download available for your operating system and hardware architecture") ErrFileNotFoundInArchive = errors.New("file not found in archive") ErrUnsupportedArchive = errors.New("unsupported archive format (supported are .tar, .tar.gz, .tar.xz and .zip") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Token string `toml:"bot-token"` FfmpegPath string `toml:"ffmpeg-path"` Extractors extractor.Config `toml:"extractors"` }
Click to show internal directories.
Click to hide internal directories.