bean.go 434 B

12345678910111213141516171819202122232425
  1. //@File bean.go
  2. //@Time 2022/6/1
  3. //@Author #Suyghur,
  4. package model
  5. import (
  6. "context"
  7. "github.com/zeromicro/go-zero/core/logx"
  8. "ylink/flowsrv/rpc/internal/svc"
  9. "ylink/flowsrv/rpc/pb"
  10. )
  11. type Flow struct {
  12. EndFlow chan int
  13. Message chan string
  14. Ctx context.Context
  15. SvcCtx *svc.ServiceContext
  16. Logger logx.Logger
  17. Stream pb.Flowsrv_ConnectServer
  18. Type int64
  19. Uid string
  20. GameId string
  21. FlowId string
  22. }