config.go 438 字节
package config

import (
	"github.com/zeromicro/go-zero/core/stores/redis"
	"github.com/zeromicro/go-zero/rest"
	"gitlab.fjmaimaimai.com/allied-creation/sumifcc-bchart/pkg/config"
	"time"
)

type Config struct {
	rest.RestConf
	config.Config
	Redis        redis.RedisConf `json:",optional"`
	ByteMetadata ApiService
	HostName     string // 服务域名
}

type ApiService struct {
	Name    string
	Host    string
	Timeout time.Duration
}