Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULT_ID = 777000
Variables ¶
View Source
var SESSION *gorm.DB
Functions ¶
func SaveConfig ¶
func SaveConfig(config []byte)
Types ¶
type ApiService ¶
type App ¶
type App struct { Name string `json:"name,omitempty"` Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` Domain string `json:"domain,omitempty"` SecretKey string `json:"secret_key,omitempty"` }
{"auth0":{},"categories":[],"gdrive":{},"onedrive":{},"sharepoint":{},"tmdb":{"api_key":"ygy"},"subtitles":{"api_key":"gyg"},"build":{"cron":"gygy"},"rclone":{},"app":{"name":"feuh","title":"uhuhu","description":"hu","domain":"huh","secret_key":"uhhu"}}
type Config ¶
type Config struct { Auth0 Auth0 `json:"auth0"` App App `json:"app"` Gdrive Hosting `json:"gdrive"` Onedrive Hosting `json:"onedrive"` Tmdb ApiService `json:"tmdb"` Subtitles ApiService `json:"subtitles"` Rclone Rclone `json:"rclone"` Build Build `json:"build"` Categories []Category `json:"categories,omitempty"` }
Click to show internal directories.
Click to hide internal directories.