diff --git a/etc/goproxy.yaml b/etc/goproxy.yaml index 9e07180..5c5e567 100644 --- a/etc/goproxy.yaml +++ b/etc/goproxy.yaml @@ -25,6 +25,24 @@ api_table: httpcodefail: false count: 0 frequency: 0 + package_version_info: + description: "获取包指定版本的下载信息" + flag: package_version_info + uri: /stats/{{package_name}}@{{package_version}} + method: GET + bind_uri_param_list: + - package_name + - package_version + timeout: + read: 50000 + connect: 50000 + retry: + connect_timeout: false + read_timeout: false + business_code_fail: false + httpcodefail: false + count: 0 + frequency: 0 api_retry: connect_timeout: false read_timeout: false