config.go 291 B

12345678910111213141516
  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. JwtAuth struct {
  11. AccessSecret string
  12. AccessExpire int64
  13. }
  14. }