2022-08-16 23:30:23 +08:00
|
|
|
package service
|
|
|
|
|
|
|
|
import "github.com/1Panel-dev/1Panel/app/repo"
|
|
|
|
|
|
|
|
type ServiceGroup struct {
|
2022-09-08 18:47:15 +08:00
|
|
|
AuthService
|
2022-08-18 18:54:21 +08:00
|
|
|
HostService
|
2022-09-16 18:53:45 +08:00
|
|
|
BackupService
|
2022-08-30 18:49:07 +08:00
|
|
|
GroupService
|
|
|
|
CommandService
|
2022-08-16 23:30:23 +08:00
|
|
|
OperationService
|
2022-08-24 11:10:50 +08:00
|
|
|
FileService
|
2022-09-15 10:44:43 +08:00
|
|
|
SettingService
|
2022-08-16 23:30:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
var ServiceGroupApp = new(ServiceGroup)
|
|
|
|
|
|
|
|
var (
|
2022-08-18 18:54:21 +08:00
|
|
|
hostRepo = repo.RepoGroupApp.HostRepo
|
2022-09-16 18:53:45 +08:00
|
|
|
backupRepo = repo.RepoGroupApp.BackupRepo
|
2022-08-30 18:49:07 +08:00
|
|
|
groupRepo = repo.RepoGroupApp.GroupRepo
|
|
|
|
commandRepo = repo.RepoGroupApp.CommandRepo
|
2022-08-16 23:30:23 +08:00
|
|
|
operationRepo = repo.RepoGroupApp.OperationRepo
|
|
|
|
commonRepo = repo.RepoGroupApp.CommonRepo
|
2022-09-15 10:44:43 +08:00
|
|
|
settingRepo = repo.RepoGroupApp.SettingRepo
|
2022-08-16 23:30:23 +08:00
|
|
|
)
|