config.go 336 B

1234567891011121314151617
  1. package config
  2. import (
  3. "github.com/zeromicro/go-zero/zrpc"
  4. "ylink/comm/kafka"
  5. )
  6. type Config struct {
  7. zrpc.RpcServerConf
  8. InnerRpcConf zrpc.RpcClientConf
  9. KqMsgBoxConsumerConf kafka.KqConsumerConfig
  10. KqCmdBoxConsumerConf kafka.KqConsumerConfig
  11. JwtAuth struct {
  12. AccessSecret string
  13. AccessExpire int64
  14. }
  15. }