config.go 238 B

123456789101112131415
  1. package config
  2. import (
  3. "github.com/zeromicro/go-zero/rest"
  4. "github.com/zeromicro/go-zero/zrpc"
  5. )
  6. type Config struct {
  7. rest.RestConf
  8. CmdRpcConf zrpc.RpcClientConf
  9. JwtAuth struct {
  10. AccessSecret string
  11. AccessExpire int64
  12. }
  13. }