add clientIP for handler recorder object

This commit is contained in:
ginuerzh committed 2024-09-15 18:28:24 +08:00
1 parent f681f7aa03
commit b39aa63f75
12 files changed
+77 -8

No files matched your search

+2 -1
View File
@@ -53,7 +53,8 @@ type HandlerRecorderObject struct {
RemoteAddr string `json:"remote"`
LocalAddr string `json:"local"`
Host string `json:"host"`
Client string `json:"client,omitempty"`
ClientIP string `json:"clientIP"`
ClientID string `json:"clientID,omitempty"`
HTTP *HTTPRecorderObject `json:"http,omitempty"`
DNS *DNSRecorderObject `json:"dns,omitempty"`
Err string `json:"err,omitempty"`