- go-client → kenaito-conf-go-client - python-client → kenaito-conf-python-client - python-client-demo → kenaito-conf-python-client-demo - nodejs-client → kenaito-conf-nodejs-client - nodejs-client-demo → kenaito-conf-nodejs-client-demo - 更新所有 README 和 package.json 中的路径引用
13 lines
417 B
JavaScript
13 lines
417 B
JavaScript
export class Config {
|
|
constructor(options = {}) {
|
|
this.baseUrl = options.baseUrl || '';
|
|
this.appName = options.appName || '';
|
|
this.env = options.env || 'dev';
|
|
this.version = options.version || 'latest';
|
|
this.token = options.token || '';
|
|
this.syncInterval = options.syncInterval || 60;
|
|
this.ignoreGlobal = options.ignoreGlobal || false;
|
|
this.cacheDir = options.cacheDir || '.';
|
|
}
|
|
}
|