config.go 506 字节
package config

import (
	"github.com/zeromicro/go-queue/kq"
	"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 // 服务域名
	KqConsumerConf kq.KqConf
}

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