server: registry

This commit is contained in:
mmatczuk 2017-02-02 09:26:05 +01:00
parent c63ae8f383
commit 894f217a30
21 changed files with 886 additions and 309 deletions

11
proto/tunnel.go Normal file
View 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
}