Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EchoLoop ¶
EchoLoop echos every msg received from c until an error occurs or the context expires. The read limit is set to 1 << 30.
func Pipe ¶
func Pipe(dialOpts *websocket.DialOptions, acceptOpts *websocket.AcceptOptions) (clientConn, serverConn *websocket.Conn)
Pipe is used to create an in memory connection between two websockets analogous to net.Pipe.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.