bean.go 398 B

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