config.go 292 B

12345678910111213141516171819
  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. OrganizationRpcConf zrpc.RpcClientConf
  13. DtDataStoreDB struct {
  14. DataSource string
  15. }
  16. }