mirror of
https://github.com/simon-ding/polaris.git
synced 2026-02-25 21:20:53 +08:00
36 lines
689 B
Go
36 lines
689 B
Go
package db
|
|
|
|
var Version = "undefined"
|
|
|
|
const (
|
|
SettingTmdbApiKey = "tmdb_api_key"
|
|
SettingLanguage = "language"
|
|
SettingJacketUrl = "jacket_url"
|
|
SettingJacketApiKey = "jacket_api_key"
|
|
SettingDownloadDir = "download_dir"
|
|
SettingLogLevel = "log_level"
|
|
SettingProxy = "proxy"
|
|
SettingPlexMatchEnabled = "plexmatch_enabled"
|
|
)
|
|
|
|
const (
|
|
SettingAuthEnabled = "auth_enbled"
|
|
SettingUsername = "auth_username"
|
|
SettingPassword = "auth_password"
|
|
)
|
|
|
|
const (
|
|
IndexerTorznabImpl = "torznab"
|
|
DataPath = "./data"
|
|
ImgPath = DataPath + "/img"
|
|
LogPath = DataPath + "/logs"
|
|
)
|
|
|
|
const (
|
|
LanguageEN = "en-US"
|
|
LanguageCN = "zh-CN"
|
|
)
|
|
|
|
type ResolutionType string
|
|
|
|
const JwtSerectKey = "jwt_secrect_key" |