Documentation ¶
Index ¶
- func AddLocalConnection(yewuId string, wsConn *websocket.GnetUpgraderConn) bool
- func AddServerRoute(yewuId string, serverAddr string) error
- func GetServerAddr(yewuId string) (string, error)
- func LoadLocalConnection(yewuId string) (*websocket.GnetUpgraderConn, error)
- func RemoveLocalConnection(yewuId string)
- func RemoveServerRoute(yewuId string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLocalConnection ¶
func AddLocalConnection(yewuId string, wsConn *websocket.GnetUpgraderConn) bool
func AddServerRoute ¶
func GetServerAddr ¶
func LoadLocalConnection ¶
func LoadLocalConnection(yewuId string) (*websocket.GnetUpgraderConn, error)
func RemoveLocalConnection ¶
func RemoveLocalConnection(yewuId string)
func RemoveServerRoute ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.