mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-30 07:29:08 +08:00
23 lines
493 B
Go
23 lines
493 B
Go
package service
|
|
|
|
import "github.com/1Panel-dev/1Panel/app/repo"
|
|
|
|
type ServiceGroup struct {
|
|
UserService
|
|
HostService
|
|
GroupService
|
|
CommandService
|
|
OperationService
|
|
}
|
|
|
|
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
|
|
)
|