config.go 321 B

123456789101112131415161718
  1. package config
  2. import "github.com/zeromicro/go-zero/zrpc"
  3. type Config struct {
  4. zrpc.RpcServerConf
  5. OssEndPoint string
  6. OssAccessKeyId string
  7. OssAccessKeySecret string
  8. FileSystemConf zrpc.RpcClientConf
  9. RedisAddress string
  10. FileSize int
  11. ContentType string
  12. }
  13. var (
  14. Cf Config
  15. )