# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewTcpClient function builds a tcp client.
NewTCPServer builds a tcp serverimpl.
@WithSslEnabled enable use tls.
@pool client task pool.
@WithClientKeyCertChainPath sslConfig is tls config.
@num is connection number.
@addr serverimpl listen address.
@reconnectInterval is serverimpl address.
@cert is client certificate file.
@addr is serverimpl address.
@WithSslEnabled enable use tls.
@pool serverimpl task pool.
@WithServerKeyCertChainPath sslConfig is tls config.
@cert: serverimpl certificate file.
@path: websocket request url path.
@key: serverimpl private key(contains its public key).
@cert is the root certificate file to verify the legitimacy of serverimpl.
# Constants
9.
1.
-2.
0.
No description provided by the author
-1.
No description provided by the author
900s, 15 minute.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
ClientTlsConfigBuilder impl TlsConfigBuilder for client.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MySQL serverimpl session 本地存储.
No description provided by the author
No description provided by the author
ServerTlsConfigBuilder impl TlsConfigBuilder for serverimpl.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
EventListener is used to process pkg that received from remote session.
No description provided by the author
Reader is used to unmarshal a complete pkg from buffer_pool.
package handler interface.
Server interface.
No description provided by the author
TlsConfigBuilder tls config builder interface.
Writer is used to marshal pkg and write to session.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewSessionCallback will be invoked when serverimpl accepts a new client connection or client connects to serverimpl successfully.
No description provided by the author