save code
This commit is contained in:
parent
61cefdbbbf
commit
45d4b08ed3
@ -21,8 +21,8 @@ import (
|
||||
//
|
||||
// Date : 17:19 2024/11/11
|
||||
type RequestContext struct {
|
||||
GinCtx *context.Context `json:"-"` // gin 上下文
|
||||
RuntimeInstance *trace.Runtime `json:"-"` // 链路统一追踪实例
|
||||
ctx context.Context `json:"-"` // gin 上下文
|
||||
runtimeInstance *trace.Runtime `json:"-"` // 链路统一追踪实例
|
||||
GatewayUrlConfig *GatewayApiConfig `json:"gateway_url_config"` // 网关接口的配置
|
||||
GatewayApiInfo *GatewayApi `json:"gateway_api_info"` // 网关接口信息
|
||||
GatewayRequest *GatewayRequestInfo `json:"gateway_request"` // 网关请求信息
|
||||
@ -281,7 +281,8 @@ type RateLimitConfig struct {
|
||||
}
|
||||
|
||||
type ResponseData struct {
|
||||
Body map[string]any `json:"body"` // body数据
|
||||
Header map[string]string `json:"header"` // header数据
|
||||
Cookie map[string]string `json:"cookie"` // cookie数据
|
||||
Body map[string]any `json:"body"` // body数据
|
||||
Header map[string]string `json:"header"` // header数据
|
||||
Cookie map[string]string `json:"cookie"` // cookie数据
|
||||
SourceData string `json:"source_data"` // 原始body数据
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user