Use encryption in frp protocol.

This commit is contained in:
fatedier
2017-03-10 01:42:06 +08:00
parent f83a2a73ab
commit f90028cf96
5 changed files with 38 additions and 10 deletions

View File

@ -23,8 +23,11 @@ import (
"github.com/fatedier/frp/utils/net"
)
// Proxy defines how to work for different proxy type.
type Proxy interface {
Run()
// InWorkConn accept work connections registered to server.
InWorkConn(conn net.Conn)
Close()
}