增加 request location定义
This commit is contained in:
		
							
								
								
									
										16
									
								
								request.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								request.go
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,16 @@
 | 
			
		||||
// Package consts ...
 | 
			
		||||
//
 | 
			
		||||
// Description : consts ...
 | 
			
		||||
//
 | 
			
		||||
// Author : go_developer@163.com<白茶清欢>
 | 
			
		||||
//
 | 
			
		||||
// Date : 2024-04-22 11:04
 | 
			
		||||
package consts
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	RequestLocationHeader  = "HEADER"   // header
 | 
			
		||||
	RequestLocationCookie  = "COOKIE"   // cookie
 | 
			
		||||
	RequestLocationBody    = "BODY"     // body
 | 
			
		||||
	RequestLocationQuery   = "QUERY"    // query
 | 
			
		||||
	RequestLocationUriPath = "URI_PATH" // uri路由一部分
 | 
			
		||||
)
 | 
			
		||||
		Reference in New Issue
	
	Block a user