2026-02-28 15:29:16 +08:00
|
|
|
package config
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/zeromicro/go-zero/core/stores/cache"
|
|
|
|
|
"github.com/zeromicro/go-zero/zrpc"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
|
zrpc.RpcServerConf
|
2026-06-14 15:24:02 +08:00
|
|
|
DataSource string
|
|
|
|
|
Cache cache.CacheConf
|
|
|
|
|
PrometheusAddr string `json:",default=:9092"`
|
2026-02-28 15:29:16 +08:00
|
|
|
}
|