Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct {
Config *config.AppConfig
Version string
AuthService *auth.Service
SessionManager *scs.SessionManager
InstanceStore *models.InstanceStore
ClientAPIKeyStore *models.ClientAPIKeyStore
ClientPool *qbittorrent.ClientPool
SyncManager *qbittorrent.SyncManager
WebHandler *web.Handler
LicenseService *license.Service
UpdateService *update.Service
}
Dependencies holds all the dependencies needed for the API
type Server ¶ added in v1.0.0
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶ added in v1.0.0
func NewServer(deps *Dependencies) *Server
func (*Server) ListenAndServe ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.