Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenLocalTunnel ¶
OpenLocalTunnel open a local tunnel that connect browser to local
func OpenRemoteTunnel ¶
OpenRemoteTunnel open a remote tunnel that connect local to remote
Types ¶
type ReadableFunc ¶
type ReadableFunc func()
ReadableFunc as a callback when socket readable or closed
type Sock ¶
type Sock struct {
// contains filtered or unexported fields
}
Sock define a socket
func CreateSock ¶
func CreateSock(conn net.Conn, readableCb ReadableFunc, closedCb ReadableFunc) *Sock
CreateSock : create a socket
Click to show internal directories.
Click to hide internal directories.