routing: add Network field to Request struct for protocol-based routing

This commit is contained in:
ginuerzh
2026-06-24 17:25:59 +08:00
parent 53f7941f92
commit c40c6d6f52
+2
View File
@@ -16,6 +16,8 @@ type Request struct {
ClientIP net.IP
// Host is the target hostname.
Host string
// Network is the connection network type ("tcp", "udp").
Network string
// Protocol is the proxy protocol.
Protocol string
// Method is the HTTP request method.