Documentation ¶
Overview ¶
Package define ...
Description : define ...
Author : go_developer@163.com<白茶清欢>
Date : 2022-06-25 23:25
Package define ...
Description : define ...
Author : go_developer@163.com<白茶清欢>
Date : 2022-06-25 20:33
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertDefaultConfig ¶
func ConvertDefaultConfig(cfg *HttpHandleConfig)
ConvertDefaultConfig 覆盖默认配置
Author : go_developer@163.com<白茶清欢>
Date : 20:41 2022/6/25
Types ¶
type HttpHandleConfig ¶
type HttpHandleConfig struct { RecordRequestDataField string RecordResponseDataField string RequestIDField string TraceIDField string ResponseCodeField string ResponseMessageField string HandleRequestCostField string ResponseDataField string ResponseTraceIDField string StartRequestTimeField string FinishRequestTimeField string RequestIsSuccessField string // 请求处理是否成功的标识 }
HttpHandleConfig 请求处理配置
Author : go_developer@163.com<白茶清欢>
Date : 20:41 2022/6/25
func GetHttpHandleConfig ¶
func GetHttpHandleConfig() *HttpHandleConfig
GetHttpHandleConfig 获取http配置
Author : go_developer@163.com<白茶清欢>
Date : 16:55 2024/7/23
Click to show internal directories.
Click to hide internal directories.