package
Version:
v0.0.0-...-a27ee6b
Opens a new window with list of versions in this module.
Published: Sep 26, 2023
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Client struct {
Conn net.Conn
ReadCh chan []byte
}
NewClient creates a new TCP client
Close - closes the connection
type Server struct {
ReadCh chan []byte
}
NewServer creates a new TCP server
Send - sends data to all connections
Source Files
¶
Click to show internal directories.
Click to hide internal directories.