Skip to content

getServiceConfig(serviceName, configName): Promise<Record<string, unknown>>

读取服务配置,文件不存在或解析失败时返回空对象

Parameters ​

serviceName ​

string

configName ​

string

Returns ​

Promise<Record<string, unknown>>

Released under the MIT License with love.