enum

package
v1.4.4-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderOptTypeAdd    = "ADD"    //新增或修改
	HeaderOptTypeDelete = "DELETE" //删除

	MatchPositionHeader = "header"
	MatchPositionQuery  = "query"
	MatchPositionCookie = "cookie"

	MatchTypeEqual   = "EQUAL"   //全等匹配
	MatchTypePrefix  = "PREFIX"  //前缀匹配
	MatchTypeSuffix  = "SUFFIX"  //后缀匹配
	MatchTypeSubstr  = "SUBSTR"  //子串匹配
	MatchTypeUnEqual = "UNEQUAL" //非等匹配
	MatchTypeNull    = "NULL"    //空值匹配
	MatchTypeExist   = "EXIST"   //存在匹配
	MatchTypeUnExist = "UNEXIST" //不存在匹配
	MatchTypeRegexp  = "REGEXP"  //区分大小写的正则匹配
	MatchTypeRegexpG = "REGEXPG" //不区分大小写的匹配
	MatchTypeAny     = "ANY"     //任意匹配

	MethodGET     = "GET"
	MethodPOST    = "POST"
	MethodPUT     = "PUT"
	MethodDELETE  = "DELETE"
	MethodPATCH   = "PATCH"
	MethodHEAD    = "HEAD"
	MethodOPTIONS = "OPTIONS"

	RestfulLabel = "{rest}"

	//来源类型
	SourceSelfBuild = "self-build" //自建
	SourceImport    = "import"     //导入
	SourceSync      = "sync"       //同步
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL