1Panel/backend/app/service/entry.go
2022-09-07 14:03:24 +08:00

24 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
)