mirror of
https://github.com/mmatczuk/go-http-tunnel.git
synced 2026-05-21 06:45:30 -06:00
11 lines
273 B
Go
11 lines
273 B
Go
package proto
|
|
|
|
// Tunnel specifies tunnel entry point. Tunnel map is sent from client to server
|
|
// during handshake. Server tries to proxy connections to Host and Addr to
|
|
// client.
|
|
type Tunnel struct {
|
|
Protocol string
|
|
Host string
|
|
Auth string
|
|
Addr string
|
|
}
|