Documentation ¶
Index ¶
- type ControllerBase
- func (cb *ControllerBase) ChangePwdHandler(c *gin.Context)
- func (cb *ControllerBase) CheckCronHandler(c *gin.Context)
- func (cb *ControllerBase) CheckEmbyPathHandler(c *gin.Context)
- func (cb *ControllerBase) CheckEmbySettingsHandler(c *gin.Context)
- func (cb *ControllerBase) CheckPathHandler(c *gin.Context)
- func (cb *ControllerBase) CheckProxyHandler(c *gin.Context)
- func (cb *ControllerBase) CheckTmdbApiHandler(c *gin.Context)
- func (cb *ControllerBase) Close()
- func (cb *ControllerBase) DefSettingsHandler(c *gin.Context)
- func (cb *ControllerBase) ErrorProcess(c *gin.Context, funcName string, err error)
- func (cb *ControllerBase) LoginHandler(c *gin.Context)
- func (cb *ControllerBase) LogoutHandler(c *gin.Context)
- func (cb *ControllerBase) PreJobHandler(c *gin.Context)
- func (cb *ControllerBase) SetupHandler(c *gin.Context)
- func (cb *ControllerBase) SystemStatusHandler(c *gin.Context)
- type StaticFileSystemBackEnd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerBase ¶
type ControllerBase struct {
// contains filtered or unexported fields
}
func NewControllerBase ¶
func NewControllerBase( fileDownloader *file_downloader.FileDownloader, restartSignal chan interface{}, preJob *pre_job.PreJob, ) *ControllerBase
func (*ControllerBase) ChangePwdHandler ¶
func (cb *ControllerBase) ChangePwdHandler(c *gin.Context)
func (*ControllerBase) CheckCronHandler ¶
func (cb *ControllerBase) CheckCronHandler(c *gin.Context)
func (*ControllerBase) CheckEmbyPathHandler ¶
func (cb *ControllerBase) CheckEmbyPathHandler(c *gin.Context)
func (*ControllerBase) CheckEmbySettingsHandler ¶
func (cb *ControllerBase) CheckEmbySettingsHandler(c *gin.Context)
func (*ControllerBase) CheckPathHandler ¶
func (cb *ControllerBase) CheckPathHandler(c *gin.Context)
func (*ControllerBase) CheckProxyHandler ¶
func (cb *ControllerBase) CheckProxyHandler(c *gin.Context)
func (*ControllerBase) CheckTmdbApiHandler ¶
func (cb *ControllerBase) CheckTmdbApiHandler(c *gin.Context)
func (*ControllerBase) Close ¶
func (cb *ControllerBase) Close()
func (*ControllerBase) DefSettingsHandler ¶
func (cb *ControllerBase) DefSettingsHandler(c *gin.Context)
func (*ControllerBase) ErrorProcess ¶
func (cb *ControllerBase) ErrorProcess(c *gin.Context, funcName string, err error)
func (*ControllerBase) LoginHandler ¶
func (cb *ControllerBase) LoginHandler(c *gin.Context)
func (*ControllerBase) LogoutHandler ¶
func (cb *ControllerBase) LogoutHandler(c *gin.Context)
func (*ControllerBase) PreJobHandler ¶ added in v0.54.0
func (cb *ControllerBase) PreJobHandler(c *gin.Context)
PreJobHandler 系统启动后的预处理工作
func (*ControllerBase) SetupHandler ¶
func (cb *ControllerBase) SetupHandler(c *gin.Context)
func (*ControllerBase) SystemStatusHandler ¶
func (cb *ControllerBase) SystemStatusHandler(c *gin.Context)
SystemStatusHandler 获取系统状态
type StaticFileSystemBackEnd ¶
type StaticFileSystemBackEnd struct {
// contains filtered or unexported fields
}
func NewStaticFileSystemBackEnd ¶
func NewStaticFileSystemBackEnd(logger *logrus.Logger) *StaticFileSystemBackEnd
func (*StaticFileSystemBackEnd) GetPathUrlMap ¶
func (s *StaticFileSystemBackEnd) GetPathUrlMap() map[string]string
GetPathUrlMap x://电影 -- /movie_dir_0 or x://电视剧 -- /series_dir_0
func (*StaticFileSystemBackEnd) Start ¶
func (s *StaticFileSystemBackEnd) Start(commonSettings *settings.CommonSettings)
func (*StaticFileSystemBackEnd) Stop ¶
func (s *StaticFileSystemBackEnd) Stop()
Click to show internal directories.
Click to hide internal directories.