Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
Conn defines the abstraction of a WebSocket connection between Gopherjs and TCP-capable platforms
type NativeConn ¶
type NativeConn struct { StatusCode int Conn *websocket.Conn RecvChan chan string Die chan error // contains filtered or unexported fields }
func (*NativeConn) Close ¶
func (jc *NativeConn) Close() error
func (*NativeConn) Recv ¶
func (jc *NativeConn) Recv() (string, error)
func (*NativeConn) Send ¶
func (jc *NativeConn) Send(data string) error
func (*NativeConn) Status ¶
func (jc *NativeConn) Status() int
Click to show internal directories.
Click to hide internal directories.