Documentation ¶
Index ¶
- Constants
- type WsBridge
- type WsProxy
- func (w *WsProxy) AddClient(conn *websocket.Conn) (*WsBridge, error)
- func (w *WsProxy) DelClient(conn *websocket.Conn)
- func (w *WsProxy) GetClient(conn *websocket.Conn) (*WsBridge, bool)
- func (w *WsProxy) OnConnect(conn *websocket.Conn)
- func (w *WsProxy) OnDisconnect(conn *websocket.Conn, err error)
- func (w *WsProxy) OnMessage(conn *websocket.Conn, messageType websocket.MessageType, data []byte)
- func (ws *WsProxy) Start(addr, pem, key string) error
Constants ¶
View Source
const SockAddr = "/tmp/cp9.sock"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.