config.go 417 B

1234567891011121314151617181920212223242526
  1. package config
  2. import (
  3. "github.com/zeromicro/go-zero/core/stores/redis"
  4. "github.com/zeromicro/go-zero/rest"
  5. )
  6. type Config struct {
  7. rest.RestConf
  8. Redis redis.RedisConf
  9. Auth struct {
  10. AccessSecret string
  11. AccessExpire int64
  12. }
  13. Mysql struct {
  14. Datasource string
  15. }
  16. Wxwork struct {
  17. Corpid string
  18. Corpsecret string
  19. Token string
  20. ReceiverId string
  21. EncodingAeskey string
  22. }
  23. }