Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConn ¶
ClientConn client <-> proxy
func (*ClientConn) Handshake ¶
func (c *ClientConn) Handshake() error
Handshake between client and proxy.
func (*ClientConn) IsAllowConnect ¶
func (c *ClientConn) IsAllowConnect() bool
IsAllowConnect check ip in whitelist.
type Server ¶
Server proxy daemon
func (*Server) GetConnection ¶
func (p *Server) GetConnection(connectionID uint32) *ClientConn
GetConnection get connection
func (*Server) RemoveConnection ¶
RemoveConnection remove connection
Click to show internal directories.
Click to hide internal directories.