mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-13 19:21:19 +08:00
23 lines
506 B
Go
23 lines
506 B
Go
package service
|
|
|
|
import "github.com/1Panel-dev/1Panel/app/repo"
|
|
|
|
type ServiceGroup struct {
|
|
UserService
|
|
HostService
|
|
GroupService
|
|
CommandService
|
|
OperationService
|
|
FileService
|
|
}
|
|
|
|
var ServiceGroupApp = new(ServiceGroup)
|
|
|
|
var (
|
|
userRepo = repo.RepoGroupApp.UserRepo
|
|
hostRepo = repo.RepoGroupApp.HostRepo
|
|
groupRepo = repo.RepoGroupApp.GroupRepo
|
|
commandRepo = repo.RepoGroupApp.CommandRepo
|
|
operationRepo = repo.RepoGroupApp.OperationRepo
|
|
commonRepo = repo.RepoGroupApp.CommonRepo
|
|
)
|