{"size": 875, "ext": "js", "max_stars_repo_path": "mchat-usercenter/config/serviceConfig.js", "max_stars_repo_name": "Thinker-Mars/mChat-backend", "max_stars_repo_stars_event_min_datetime": "2021-03-24T08:44:22.000Z", "max_stars_repo_stars_event_max_datetime": "2021-03-24T08:44:22.000Z", "max_issues_repo_path": "mchat-usercenter/config/serviceConfig.js", "max_issues_repo_name": "Thinker-Mars/mChat-backend", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "mchat-usercenter/config/serviceConfig.js", "max_forks_repo_name": "Thinker-Mars/mChat-backend", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 17.8571428571, "max_line_length": 56, "alphanum_fraction": 0.6857142857}
/**
 * 用户服务在网关中的Service ID
 */
const ServiceID = '1';

/**
 * 设置服务信息时的基础url
 */
const ServiceConfigAddr = 'apisix/admin/services';

/**
 * 设置服务消费者信息时的基础url
 */
const ConsumerConfigAddr = 'apisix/admin/consumers';

/**
 * 此服务启动端口
 */
const ServicePort = 2000;

/**
 * 服务权重
 */
const ServiceWeight = 1;

/**
 * 服务的描述
 */
const ServiceDesc = 'User Center Service';

/**
 * 外网调用接口时需传递此key
 */
const ConsumerKey = 'usercenter';

/**
 * 设置服务信息时的apikey
 */
const ApiKey = 'mchat';

module.exports.ServiceID = ServiceID;
module.exports.ServiceConfigAddr = ServiceConfigAddr;
module.exports.ServicePort = ServicePort;
module.exports.ServiceWeight = ServiceWeight;
module.exports.ServiceDesc = ServiceDesc;
module.exports.ConsumerKey = ConsumerKey;
module.exports.ConsumerConfigAddr = ConsumerConfigAddr;
module.exports.ApiKey = ApiKey;
