1Panel/backend/app/service/entry.go

23 lines
493 B
Go
Raw Normal View History

2022-08-16 23:30:23 +08:00
package service
import "github.com/1Panel-dev/1Panel/app/repo"
type ServiceGroup struct {
UserService
HostService
GroupService
CommandService
2022-08-16 23:30:23 +08:00
OperationService
}
var ServiceGroupApp = new(ServiceGroup)
var (
userRepo = repo.RepoGroupApp.UserRepo
hostRepo = repo.RepoGroupApp.HostRepo
groupRepo = repo.RepoGroupApp.GroupRepo
commandRepo = repo.RepoGroupApp.CommandRepo
2022-08-16 23:30:23 +08:00
operationRepo = repo.RepoGroupApp.OperationRepo
commonRepo = repo.RepoGroupApp.CommonRepo
)