vars.go 305 B

123456789101112131415161718
  1. package comp
  2. import (
  3. "git.wanbits.io/joe/kettle/htp"
  4. "git.wanbits.io/joe/kettle/mq/mqsvr"
  5. "git.wanbits.io/joe/kettle/utl"
  6. "github.com/go-redis/redis"
  7. )
  8. var (
  9. GBufPool = utl.NewBufPool(1560)
  10. GRds *redis.Client //TODO: switch to cluster
  11. GMq *mqsvr.Stan
  12. GEv *mqsvr.Nats
  13. GRpc *htp.GinServer
  14. )