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