fix middleware tracer and cloudflareRealIP

This commit is contained in:
yusing
2024-12-18 09:03:12 +08:00
parent 783b352e3b
commit 87279688e6
12 changed files with 81 additions and 71 deletions

View File

@@ -13,7 +13,7 @@ import (
type (
realIP struct {
RealIPOpts
*Tracer
Tracer
}
RealIPOpts struct {
// Header is the name of the header to use for the real client IP