From 54ad5d7873093a7833e60d1afa9332702ce327ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Sat, 2 Jul 2022 13:51:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=A4=BA=E4=BE=8B=E7=9A=84?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/goproxy.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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