package
1.0.1
Repository: https://github.com/php2go/netpollmux.git
Documentation: pkg.go.dev

# Functions

Address returns the socket's address by a url.
DefaultTLSConfig returns a default TLS config.
LoadTLSConfig returns a TLS config by loading the certificate file and the key file.
NewHTTPSocket returns a new HTTP socket.
NewINPROCSocket returns a new TCP socket.
NewMessages returns a new messages.
NewSocket returns a new socket by a network and a TLS config.
NewTCPSocket returns a new TCP socket.
NewUNIXSocket returns a new UNIX socket.
NewWSSocket returns a new WS socket.
SkipVerifyTLSConfig returns a insecure skip verify TLS config.
TLSConfig returns a TLS config by the certificate data and the key data.
URL returns the socket's url by a address.

# Constants

HTTPConnected defines the http connected.
HTTPPath defines the http path.
WSPath defines the ws path.

# Variables

DefaultCertPEM represents the default certificate data.
DefaultKeyPEM represents the default private key data.
ErrConn is the error when the conn is nil.
ErrHandler is the error when the handler is nil.
ErrNetwork is the error when the network is not supported.
ErrOpened is the error when the opened is nil.
ErrServe is the error when the serve is nil.

# Structs

HTTP implements the Socket interface.
HTTPConn implements the Conn interface.
HTTPListener implements the Listener interface.
INPROC implements the Socket interface.
INPROCListener implements the Listener interface.
INPROConn implements the Conn interface.
TCP implements the Socket interface.
TCPConn implements the Conn interface.
TCPListener implements the Listener interface.
UNIX implements the Socket interface.
UNIXConn implements the Conn interface.
UNIXListener implements the Listener interface.
WS implements the Socket interface.
WSConn implements the Conn interface.
WSListener implements the Listener interface.

# Interfaces

Batch interface is used to write batch messages.
Conn is a generic stream-oriented network connection.
Context represents a context.
Dialer is a generic network dialer for stream-oriented protocols.
Listener is a generic network listener for stream-oriented protocols.
Messages interface is used to read and write message.
Socket contains the Dialer and the Listener.