bean.go 414 B

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