You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

uploadlogic.go 518 B

12345678910111213141516171819202122232425262728
  1. package image
  2. import (
  3. "context"
  4. "github.com/zeromicro/go-zero/core/logx"
  5. "gitlink.org.cn/jcce-pcm/pcm-coordinator/api/internal/svc"
  6. )
  7. type UploadLogic struct {
  8. logx.Logger
  9. ctx context.Context
  10. svcCtx *svc.ServiceContext
  11. }
  12. func NewUploadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UploadLogic {
  13. return &UploadLogic{
  14. Logger: logx.WithContext(ctx),
  15. ctx: ctx,
  16. svcCtx: svcCtx,
  17. }
  18. }
  19. func (l *UploadLogic) Upload() error {
  20. // todo: add your logic here and delete this line
  21. return nil
  22. }

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.