package
Version:
v0.0.20
Opens a new window with list of versions in this module.
Published: May 10, 2023
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Echo writes a message and ensures the same is sent back on c.
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(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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.