mirror of
https://github.com/go-gost/core.git
synced 2026-10-19 16:16:17 +00:00
routing: add Network field to Request struct for protocol-based routing
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user