From d171549ffa17489a6b312cfcaaea0958dd05bd95 Mon Sep 17 00:00:00 2001 From: zyl <2025320615@qq.com> Date: Sat, 26 Dec 2020 11:25:59 +0800 Subject: [PATCH] =?UTF-8?q?#79=20=E6=B6=88=E6=81=AF=E8=BD=A8=E8=BF=B9?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E8=B7=9F=E8=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/common/common.go | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/pkg/common/common.go b/pkg/common/common.go index c77dafea..2ed8a39c 100644 --- a/pkg/common/common.go +++ b/pkg/common/common.go @@ -21,19 +21,18 @@ import "time" //match mode const ( - QueryParamQ = "q" - QueryByLabelsCon = "&" - QueryParamWait = "wait" - QueryParamRev = "revision" - QueryParamMatch = "match" - QueryParamKey = "key" - QueryParamLabel = "label" - QueryParamStatus = "status" - QueryParamOffset = "offset" - QueryParamLimit = "limit" - PathParamKVID = "kv_id" - PathParameterProject = "project" - //polling data + QueryParamQ = "q" + QueryByLabelsCon = "&" + QueryParamWait = "wait" + QueryParamRev = "revision" + QueryParamMatch = "match" + QueryParamKey = "key" + QueryParamLabel = "label" + QueryParamStatus = "status" + QueryParamOffset = "offset" + QueryParamLimit = "limit" + PathParamKVID = "kv_id" + PathParameterProject = "project" QueryParamSessionID = "sessionId" QueryParamSessionGroup = "sessionGroup" QueryParamIP = "ip"