Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageHandler ¶
type MessageHandler = func(conn rony.Conn, tm *rony.TunnelMessage)
type Tunnel ¶
type Tunnel interface { Start() Run() Shutdown() Addr() []string }
Tunnel provides the communication channel between edge servers. Tunnel is similar to gateway.Gateway in functionalities. However Tunnel is optimized for inter-communication between edge servers, and Gateway is optimized for client-server communications.
Click to show internal directories.
Click to hide internal directories.