mirror of
https://github.com/mmatczuk/go-http-tunnel.git
synced 2026-05-21 06:45:30 -06:00
server: registry
This commit is contained in:
parent
c63ae8f383
commit
894f217a30
21 changed files with 886 additions and 309 deletions
11
proto/tunnel.go
Normal file
11
proto/tunnel.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue