refactor: fallback agent ip to connecting ip

This commit is contained in:
naiba committed 2024-12-19 23:21:31 +08:00
1 parent 7d689862d8
commit c9056eaa44
6 files changed
+38 -26

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ const (
)
type CtxKeyRealIP struct{}
type CtxKeyConnectingIP struct{}
type Common struct {
ID uint64 `gorm:"primaryKey" json:"id,omitempty"`