fix: restore reviewable migration evidence

This commit is contained in:
MiMoCode
2026-07-10 18:26:48 +08:00
commit d1bbb5370c
42 changed files with 6419 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
package logger
import "time"
// LogEntry 表示一次代理请求的完整记录。
type LogEntry struct {
RequestID string
Method string
Path string
Query string
ClientIP string
RequestHeaders []byte // JSON
RequestBody []byte
RequestTruncated bool
StatusCode int
ResponseHeaders []byte // JSON
ResponseBody []byte
ResponseTruncated bool
IsStream bool
LatencyMS int64
StartedAt time.Time
FinishedAt time.Time
Error string
}