Documentation ¶
Index ¶
- Constants
- func RecvData(connReader *bufio.Reader, outWriter *bufio.Writer)
- func SendData(inReader *bufio.Reader)
- type Client
- type NetObject
- func (nObj NetObject) RunClient(cmd string, recv bool, send bool, proxy url.URL, isTls bool, cert string, ...)
- func (nObj NetObject) RunServer(cmd string, keepOpen bool, maxConns int, recv bool, send bool, isTls bool, ...)
- func (nObj NetObject) TLSClient(conn net.Conn, cert string, key string) net.Conn
- func (nObj NetObject) TLSServer(cert string, key string) net.Listener
Constants ¶
View Source
const ( // VERSION holds the current version number VERSION = "2.1" // GITHUB GITHUB = "https://github.com/whattheslime/NetGo" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NetObject ¶
Network object
func (NetObject) RunClient ¶
func (nObj NetObject) RunClient( cmd string, recv bool, send bool, proxy url.URL, isTls bool, cert string, key string)
Socket Client
func (NetObject) RunServer ¶
func (nObj NetObject) RunServer( cmd string, keepOpen bool, maxConns int, recv bool, send bool, isTls bool, cert string, key string)
Socket Server
Click to show internal directories.
Click to hide internal directories.