config.go 231 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. JwtAuth struct {
  9. AccessSecret string
  10. AccessExpire int64
  11. }
  12. CmdRpc zrpc.RpcClientConf
  13. }