Documentation ¶
Index ¶
Constants ¶
View Source
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" QueryParamSessionID = "sessionId" QueryParamSessionGroup = "sessionGroup" QueryParamIP = "ip" QueryParamURLPath = "urlPath" QueryParamUserAgent = "userAgent" )
match mode
View Source
const ( HeaderDepth = "X-Depth" HeaderRevision = "X-Kie-Revision" HeaderContentType = "Content-Type" HeaderAccept = "Accept" )
http headers
View Source
const ( ContentTypeText = "application/text" ContentTypeJSON = "application/json" ContentTypeYaml = "text/yaml" )
ContentType
View Source
const ( PatternExact = "exact" StatusEnabled = "enabled" StatusDisabled = "disabled" MsgDomainMustNotBeEmpty = "domain must not be empty" MsgDeleteKVFailed = "delete kv failed" MsgIllegalLabels = "label value can not be empty, " + "label can not be duplicated, please check query parameters" MsgIllegalDepth = "X-Depth must be number" MsgInvalidWait = "wait param should be formed with number and time unit like 5s,100ms, and less than 5m" MsgInvalidRev = "revision param should be formed with number greater than 0" RespBodyContextKey = "responseBody" MaxWait = 5 * time.Minute )
const of server
View Source
const (
MsgDBError = "database operation error"
)
all msg server returns
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.