mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
649 B
29 lines
649 B
package service
|
|
|
|
import "github.com/1Panel-dev/1Panel/app/repo"
|
|
|
|
type ServiceGroup struct {
|
|
AuthService
|
|
HostService
|
|
BackupService
|
|
GroupService
|
|
CommandService
|
|
OperationService
|
|
FileService
|
|
CronjobService
|
|
SettingService
|
|
}
|
|
|
|
var ServiceGroupApp = new(ServiceGroup)
|
|
|
|
var (
|
|
hostRepo = repo.RepoGroupApp.HostRepo
|
|
backupRepo = repo.RepoGroupApp.BackupRepo
|
|
groupRepo = repo.RepoGroupApp.GroupRepo
|
|
commandRepo = repo.RepoGroupApp.CommandRepo
|
|
operationRepo = repo.RepoGroupApp.OperationRepo
|
|
commonRepo = repo.RepoGroupApp.CommonRepo
|
|
cronjobRepo = repo.RepoGroupApp.CronjobRepo
|
|
settingRepo = repo.RepoGroupApp.SettingRepo
|
|
)
|