pcm-coordinator/internal/logic/schedule/queryresourceslogic.go

31 lines
662 B
Go

package schedule
import (
"context"
"gitlink.org.cn/JointCloud/pcm-coordinator/internal/svc"
"gitlink.org.cn/JointCloud/pcm-coordinator/internal/types"
"github.com/zeromicro/go-zero/core/logx"
)
type QueryResourcesLogic struct {
logx.Logger
ctx context.Context
svcCtx *svc.ServiceContext
}
func NewQueryResourcesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryResourcesLogic {
return &QueryResourcesLogic{
Logger: logx.WithContext(ctx),
ctx: ctx,
svcCtx: svcCtx,
}
}
func (l *QueryResourcesLogic) QueryResources() (resp *types.QueryResourcesResp, err error) {
// todo: add your logic here and delete this line
return
}