Documentation
¶
Index ¶
- func CreatePackets(msg []byte) (packetsR *map[uint32][]byte)
- func CreatePacketsOriginal(msg []byte) (packets map[uint32][]byte)
- type HTTP
- func (st *HTTP) AddClient(client generic.Client, idx int)
- func (st *HTTP) AvailableConnectionFromPool() (available bool, idx int)
- func (st *HTTP) CloseConnection()
- func (st *HTTP) ConnectToServer(ip, port string)
- func (st *HTTP) GetClient(idx int) (client generic.Client)
- func (st *HTTP) GetClientFromAddr(addr string) (client generic.Client)
- func (st *HTTP) GetClients() (client []*generic.Client)
- func (st *HTTP) ReadString() (message string)
- func (st *HTTP) Receive() ([]byte, error)
- func (st *HTTP) ResetClients()
- func (st *HTTP) Send(msgToServer []byte) error
- func (st *HTTP) StartServer(ip, port string, initialConnections int)
- func (st *HTTP) StopServer()
- func (st *HTTP) WaitForConnection(cliIdx int) (cl *generic.Client)
- func (st *HTTP) WriteString(message string)
- type HTTP2
- func (st *HTTP2) AddClient(client generic.Client, idx int)
- func (st *HTTP2) AvailableConnectionFromPool() (available bool, idx int)
- func (st *HTTP2) CloseConnection()
- func (st *HTTP2) ConnectToServer(ip, port string)
- func (st *HTTP2) GetClient(idx int) (client generic.Client)
- func (st *HTTP2) GetClientFromAddr(addr string) (client generic.Client)
- func (st *HTTP2) GetClients() (client []*generic.Client)
- func (st *HTTP2) ReadString() (message string)
- func (st *HTTP2) Receive() ([]byte, error)
- func (st *HTTP2) ResetClients()
- func (st *HTTP2) Send(msgToServer []byte) error
- func (st *HTTP2) StartServer(ip, port string, initialConnections int)
- func (st *HTTP2) StopServer()
- func (st *HTTP2) WaitForConnection(cliIdx int) (cl *generic.Client)
- func (st *HTTP2) WriteString(message string)
- type HTTP2Client
- func (cl *HTTP2Client) AdaptId() int
- func (cl *HTTP2Client) Address() string
- func (cl *HTTP2Client) CloseConnection()
- func (cl *HTTP2Client) Connection() interface{}
- func (cl *HTTP2Client) Read(b []byte) (n int, err error)
- func (cl *HTTP2Client) ReadString() (message string)
- func (cl *HTTP2Client) Receive() (msg []byte, err error)
- func (cl *HTTP2Client) Send(msg []byte) error
- func (cl *HTTP2Client) SetAdaptId(adaptId int)
- func (cl *HTTP2Client) WriteString(message string)
- type HTTP2Request
- type HTTPClient
- func (cl *HTTPClient) AdaptId() int
- func (cl *HTTPClient) Address() string
- func (cl *HTTPClient) CloseConnection()
- func (cl *HTTPClient) Connection() interface{}
- func (cl *HTTPClient) Read(b []byte) (n int, err error)
- func (cl *HTTPClient) ReadString() (message string)
- func (cl *HTTPClient) Receive() (msg []byte, err error)
- func (cl *HTTPClient) Send(msg []byte) error
- func (cl *HTTPClient) SetAdaptId(adaptId int)
- func (cl *HTTPClient) WriteString(message string)
- type HTTPRequest
- type HTTPS
- func (st *HTTPS) AddClient(client generic.Client, idx int)
- func (st *HTTPS) AvailableConnectionFromPool() (available bool, idx int)
- func (st *HTTPS) CloseConnection()
- func (st *HTTPS) ConnectToServer(ip, port string)
- func (st *HTTPS) GetClient(idx int) (client generic.Client)
- func (st *HTTPS) GetClientFromAddr(addr string) (client generic.Client)
- func (st *HTTPS) GetClients() (client []*generic.Client)
- func (st *HTTPS) ReadString() (message string)
- func (st *HTTPS) Receive() ([]byte, error)
- func (st *HTTPS) ResetClients()
- func (st *HTTPS) Send(msgToServer []byte) error
- func (st *HTTPS) StartServer(ip, port string, initialConnections int)
- func (st *HTTPS) StopServer()
- func (st *HTTPS) WaitForConnection(cliIdx int) (cl *generic.Client)
- func (st *HTTPS) WriteString(message string)
- type HTTPSClient
- func (cl *HTTPSClient) AdaptId() int
- func (cl *HTTPSClient) Address() string
- func (cl *HTTPSClient) CloseConnection()
- func (cl *HTTPSClient) Connection() interface{}
- func (cl *HTTPSClient) Read(b []byte) (n int, err error)
- func (cl *HTTPSClient) ReadString() (message string)
- func (cl *HTTPSClient) Receive() (msg []byte, err error)
- func (cl *HTTPSClient) Send(msg []byte) error
- func (cl *HTTPSClient) SetAdaptId(adaptId int)
- func (cl *HTTPSClient) WriteString(message string)
- type HTTPSRequest
- type QUIC
- func (st *QUIC) AddClient(client generic.Client, idx int)
- func (st *QUIC) AvailableConnectionFromPool() (available bool, idx int)
- func (st *QUIC) CloseConnection()
- func (st *QUIC) ConnectToServer(ip, port string)
- func (st *QUIC) GetClient(idx int) (client generic.Client)
- func (st *QUIC) GetClientFromAddr(addr string) (client generic.Client)
- func (st *QUIC) GetClients() (client []*generic.Client)
- func (st *QUIC) ReadString() (message string)
- func (st *QUIC) Receive() ([]byte, error)
- func (st *QUIC) ReceiveChunking() ([]byte, error)
- func (st *QUIC) ResetClients()
- func (st *QUIC) Send(msgToServer []byte) error
- func (st *QUIC) SendChunking(msgToServer []byte) error
- func (st *QUIC) StartServer(ip, port string, initialConnections int)
- func (st *QUIC) StopServer()
- func (st *QUIC) WaitForConnection(cliIdx int) (cl *generic.Client)
- func (st *QUIC) WriteString(message string)
- type QUICClient
- func (cl *QUICClient) AdaptId() int
- func (cl *QUICClient) Address() string
- func (cl *QUICClient) CloseConnection()
- func (cl *QUICClient) Connection() interface{}
- func (cl *QUICClient) Read(b []byte) (n int, err error)
- func (cl *QUICClient) ReadString() (message string)
- func (cl *QUICClient) Receive() (fullMessage []byte, err error)
- func (cl *QUICClient) ReceiveChunking() (fullMessage []byte, err error)
- func (cl *QUICClient) Send(msg []byte) error
- func (cl *QUICClient) SetAdaptId(adaptId int)
- func (cl *QUICClient) WriteString(message string)
- type RPC
- func (st *RPC) AddClient(client generic.Client, idx int)
- func (st *RPC) AvailableConnectionFromPool() (available bool, idx int)
- func (st *RPC) Call(serviceMethod string, args any, reply any) (err error)
- func (st *RPC) CloseConnection()
- func (st *RPC) ConnectToServer(ip, port string)
- func (st *RPC) GetClient(idx int) (client generic.Client)
- func (st *RPC) GetClientFromAddr(addr string) (client generic.Client)
- func (st *RPC) GetClients() (client []*generic.Client)
- func (st *RPC) ReadString() (message string)
- func (st *RPC) Receive() ([]byte, error)
- func (st *RPC) ResetClients()
- func (st *RPC) Send(msgToServer []byte) error
- func (st *RPC) StartServer(ip, port string, initialConnections int)
- func (st *RPC) StopServer()
- func (st *RPC) WaitForConnection(cliIdx int) (cl *generic.Client)
- func (st *RPC) WriteString(message string)
- type RPCClient
- func (cl *RPCClient) AdaptId() int
- func (cl *RPCClient) Address() string
- func (cl *RPCClient) CloseConnection()
- func (cl *RPCClient) Connection() interface{}
- func (cl *RPCClient) Read(b []byte) (n int, err error)
- func (cl *RPCClient) ReadString() (message string)
- func (cl *RPCClient) Receive() (msg []byte, err error)
- func (cl *RPCClient) Send(msg []byte) error
- func (cl *RPCClient) SetAdaptId(adaptId int)
- func (cl *RPCClient) WriteString(message string)
- type RPCRequest
- type TCP
- func (st *TCP) AddClient(client generic.Client, idx int)
- func (st *TCP) AvailableConnectionFromPool() (available bool, idx int)
- func (st *TCP) CloseConnection()
- func (st *TCP) ConnectToServer(ip, port string)
- func (st *TCP) GetClient(idx int) (client generic.Client)
- func (st *TCP) GetClientFromAddr(addr string) (client generic.Client)
- func (st *TCP) GetClients() (client []*generic.Client)
- func (st *TCP) ReadString() (message string)
- func (st *TCP) Receive() (fullMessage []byte, err error)
- func (st *TCP) ReceiveManualChunking() ([]byte, error)
- func (st *TCP) ResetClients()
- func (st *TCP) Send(msgToServer []byte) error
- func (st *TCP) SendManualChunking(msgToServer []byte) error
- func (st *TCP) StartServer(ip, port string, initialConnections int)
- func (st *TCP) StopServer()
- func (st *TCP) WaitForConnection(cliIdx int) (cl *generic.Client)
- func (st *TCP) WriteString(message string)
- type TCPClient
- func (cl *TCPClient) AdaptId() int
- func (cl *TCPClient) Address() string
- func (cl *TCPClient) CloseConnection()
- func (cl *TCPClient) Connection() interface{}
- func (cl *TCPClient) Read(b []byte) (n int, err error)
- func (cl *TCPClient) ReadString() (message string)
- func (cl *TCPClient) Receive() (fullMessage []byte, err error)
- func (cl *TCPClient) ReceiveManualChunking() (fullMessage []byte, err error)
- func (cl *TCPClient) Send(msg []byte) error
- func (cl *TCPClient) SetAdaptId(adaptId int)
- func (cl *TCPClient) WriteString(message string)
- type TLS
- func (st *TLS) AddClient(client generic.Client, idx int)
- func (st *TLS) AvailableConnectionFromPool() (available bool, idx int)
- func (st *TLS) CloseConnection()
- func (st *TLS) ConnectToServer(ip, port string)
- func (st *TLS) GetClient(idx int) (client generic.Client)
- func (st *TLS) GetClientFromAddr(addr string) (client generic.Client)
- func (st *TLS) GetClients() (client []*generic.Client)
- func (st *TLS) ReadString() (message string)
- func (st *TLS) Receive() (fullMessage []byte, err error)
- func (st *TLS) ReceiveChunking() ([]byte, error)
- func (st *TLS) ResetClients()
- func (st *TLS) Send(msgToServer []byte) error
- func (st *TLS) SendChunking(msgToServer []byte) error
- func (st *TLS) StartServer(ip, port string, initialConnections int)
- func (st *TLS) StopServer()
- func (st *TLS) WaitForConnection(cliIdx int) (cl *generic.Client)
- func (st *TLS) WriteString(message string)
- type TLSClient
- func (cl *TLSClient) AdaptId() int
- func (cl *TLSClient) Address() string
- func (cl *TLSClient) CloseConnection()
- func (cl *TLSClient) Connection() interface{}
- func (cl *TLSClient) Read(b []byte) (n int, err error)
- func (cl *TLSClient) ReadString() (message string)
- func (cl *TLSClient) Receive() (fullMessage []byte, err error)
- func (cl *TLSClient) ReceiveChunking() (fullMessage []byte, err error)
- func (cl *TLSClient) Send(msg []byte) error
- func (cl *TLSClient) SetAdaptId(adaptId int)
- func (cl *TLSClient) WriteString(message string)
- type UDP
- func (st *UDP) AddClient(client generic.Client, idx int)
- func (st *UDP) AvailableConnectionFromPool() (available bool, idx int)
- func (st *UDP) CloseConnection()
- func (st *UDP) ConnectToServer(ip, port string)
- func (st *UDP) GetClient(idx int) (client generic.Client)
- func (st *UDP) GetClientFromAddr(addr string) (client generic.Client)
- func (st *UDP) GetClients() (client []*generic.Client)
- func (st *UDP) ReadString() (message string)
- func (st *UDP) Receive() ([]byte, error)
- func (st *UDP) ReceiveStream() (fullMessage []byte, err error)
- func (st *UDP) ResetClients()
- func (st *UDP) Send(msgToServer []byte) error
- func (st *UDP) SendChunking(msgToServer []byte) error
- func (st *UDP) SendStream(msgToServer []byte) error
- func (st *UDP) StartServer(ip, port string, initialConnections int)
- func (st *UDP) StopServer()
- func (st *UDP) WaitForConnection(cliIdx int) (cl *generic.Client)
- func (st *UDP) WriteString(message string)
- type UDPClient
- func (cl *UDPClient) AdaptId() int
- func (cl *UDPClient) Address() string
- func (cl *UDPClient) CloseConnection()
- func (cl *UDPClient) Connection() interface{}
- func (cl *UDPClient) Read(b []byte) (n int, err error)
- func (cl *UDPClient) ReadString() (message string)
- func (cl *UDPClient) Receive() (fullMessage []byte, err error)
- func (cl *UDPClient) ReceiveChunking() (fullMessage []byte, err error)
- func (cl *UDPClient) ReceiveStream() (fullMessage []byte, err error)
- func (cl *UDPClient) Send(msg []byte) error
- func (cl *UDPClient) SetAdaptId(adaptId int)
- func (cl *UDPClient) WriteString(message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePackets ¶ added in v1.14.10
func CreatePacketsOriginal ¶ added in v1.14.10
Types ¶
type HTTP ¶
type HTTP struct {
// contains filtered or unexported fields
}
func (*HTTP) AvailableConnectionFromPool ¶
func (*HTTP) CloseConnection ¶
func (st *HTTP) CloseConnection()
func (*HTTP) ConnectToServer ¶
func (*HTTP) GetClientFromAddr ¶
func (*HTTP) GetClients ¶
func (*HTTP) ReadString ¶
func (*HTTP) ResetClients ¶
func (st *HTTP) ResetClients()
func (*HTTP) StartServer ¶
func (*HTTP) StopServer ¶
func (st *HTTP) StopServer()
func (*HTTP) WriteString ¶
type HTTP2 ¶
type HTTP2 struct {
// contains filtered or unexported fields
}
func (*HTTP2) AvailableConnectionFromPool ¶
func (*HTTP2) CloseConnection ¶
func (st *HTTP2) CloseConnection()
func (*HTTP2) ConnectToServer ¶
func (*HTTP2) GetClientFromAddr ¶
func (*HTTP2) GetClients ¶
func (*HTTP2) ReadString ¶
func (*HTTP2) ResetClients ¶
func (st *HTTP2) ResetClients()
func (*HTTP2) StartServer ¶
func (*HTTP2) StopServer ¶
func (st *HTTP2) StopServer()
func (*HTTP2) WaitForConnection ¶
func (*HTTP2) WriteString ¶
type HTTP2Client ¶
type HTTP2Client struct {
Ip string
// contains filtered or unexported fields
}
func (*HTTP2Client) AdaptId ¶
func (cl *HTTP2Client) AdaptId() int
func (*HTTP2Client) Address ¶
func (cl *HTTP2Client) Address() string
func (*HTTP2Client) CloseConnection ¶
func (cl *HTTP2Client) CloseConnection()
func (*HTTP2Client) Connection ¶
func (cl *HTTP2Client) Connection() interface{}
func (*HTTP2Client) ReadString ¶
func (cl *HTTP2Client) ReadString() (message string)
func (*HTTP2Client) Receive ¶
func (cl *HTTP2Client) Receive() (msg []byte, err error)
func (*HTTP2Client) Send ¶
func (cl *HTTP2Client) Send(msg []byte) error
func (*HTTP2Client) SetAdaptId ¶
func (cl *HTTP2Client) SetAdaptId(adaptId int)
func (*HTTP2Client) WriteString ¶
func (cl *HTTP2Client) WriteString(message string)
type HTTP2Request ¶
type HTTP2Request struct {
// contains filtered or unexported fields
}
func (HTTP2Request) Request ¶
func (rq HTTP2Request) Request(w http.ResponseWriter, r *http.Request)
func (HTTP2Request) ServeHTTP ¶
func (rq HTTP2Request) ServeHTTP(w http.ResponseWriter, r *http.Request)
type HTTPClient ¶
type HTTPClient struct {
Ip string
// contains filtered or unexported fields
}
func (*HTTPClient) AdaptId ¶
func (cl *HTTPClient) AdaptId() int
func (*HTTPClient) Address ¶
func (cl *HTTPClient) Address() string
func (*HTTPClient) CloseConnection ¶
func (cl *HTTPClient) CloseConnection()
func (*HTTPClient) Connection ¶
func (cl *HTTPClient) Connection() interface{}
func (*HTTPClient) ReadString ¶
func (cl *HTTPClient) ReadString() (message string)
func (*HTTPClient) Receive ¶
func (cl *HTTPClient) Receive() (msg []byte, err error)
func (*HTTPClient) Send ¶
func (cl *HTTPClient) Send(msg []byte) error
func (*HTTPClient) SetAdaptId ¶
func (cl *HTTPClient) SetAdaptId(adaptId int)
func (*HTTPClient) WriteString ¶
func (cl *HTTPClient) WriteString(message string)
type HTTPRequest ¶
type HTTPRequest struct {
// contains filtered or unexported fields
}
func (HTTPRequest) Request ¶
func (rq HTTPRequest) Request(w http.ResponseWriter, r *http.Request)
func (HTTPRequest) ServeHTTP ¶
func (rq HTTPRequest) ServeHTTP(w http.ResponseWriter, r *http.Request)
type HTTPS ¶
type HTTPS struct {
// contains filtered or unexported fields
}
func (*HTTPS) AvailableConnectionFromPool ¶
func (*HTTPS) CloseConnection ¶
func (st *HTTPS) CloseConnection()
func (*HTTPS) ConnectToServer ¶
func (*HTTPS) GetClientFromAddr ¶
func (*HTTPS) GetClients ¶
func (*HTTPS) ReadString ¶
func (*HTTPS) ResetClients ¶
func (st *HTTPS) ResetClients()
func (*HTTPS) StartServer ¶
func (*HTTPS) StopServer ¶
func (st *HTTPS) StopServer()
func (*HTTPS) WaitForConnection ¶
func (*HTTPS) WriteString ¶
type HTTPSClient ¶
type HTTPSClient struct {
Ip string
// contains filtered or unexported fields
}
func (*HTTPSClient) AdaptId ¶
func (cl *HTTPSClient) AdaptId() int
func (*HTTPSClient) Address ¶
func (cl *HTTPSClient) Address() string
func (*HTTPSClient) CloseConnection ¶
func (cl *HTTPSClient) CloseConnection()
func (*HTTPSClient) Connection ¶
func (cl *HTTPSClient) Connection() interface{}
func (*HTTPSClient) ReadString ¶
func (cl *HTTPSClient) ReadString() (message string)
func (*HTTPSClient) Receive ¶
func (cl *HTTPSClient) Receive() (msg []byte, err error)
func (*HTTPSClient) Send ¶
func (cl *HTTPSClient) Send(msg []byte) error
func (*HTTPSClient) SetAdaptId ¶
func (cl *HTTPSClient) SetAdaptId(adaptId int)
func (*HTTPSClient) WriteString ¶
func (cl *HTTPSClient) WriteString(message string)
type HTTPSRequest ¶
type HTTPSRequest struct {
// contains filtered or unexported fields
}
func (HTTPSRequest) Request ¶
func (rq HTTPSRequest) Request(w http.ResponseWriter, r *http.Request)
func (HTTPSRequest) ServeHTTP ¶
func (rq HTTPSRequest) ServeHTTP(w http.ResponseWriter, r *http.Request)
type QUIC ¶ added in v1.14.10
type QUIC struct {
// contains filtered or unexported fields
}
func (*QUIC) AvailableConnectionFromPool ¶ added in v1.14.10
func (*QUIC) CloseConnection ¶ added in v1.14.10
func (st *QUIC) CloseConnection()
func (*QUIC) ConnectToServer ¶ added in v1.14.10
func (*QUIC) GetClientFromAddr ¶ added in v1.14.10
func (*QUIC) GetClients ¶ added in v1.14.10
func (*QUIC) ReadString ¶ added in v1.14.10
func (*QUIC) ReceiveChunking ¶ added in v1.14.10
func (*QUIC) ResetClients ¶ added in v1.14.10
func (st *QUIC) ResetClients()
func (*QUIC) SendChunking ¶ added in v1.14.10
func (*QUIC) StartServer ¶ added in v1.14.10
func (*QUIC) StopServer ¶ added in v1.14.10
func (st *QUIC) StopServer()
func (*QUIC) WaitForConnection ¶ added in v1.14.10
func (*QUIC) WriteString ¶ added in v1.14.10
type QUICClient ¶ added in v1.14.10
type QUICClient struct {
Ip string
// contains filtered or unexported fields
}
func (*QUICClient) AdaptId ¶ added in v1.14.10
func (cl *QUICClient) AdaptId() int
func (*QUICClient) Address ¶ added in v1.14.10
func (cl *QUICClient) Address() string
func (*QUICClient) CloseConnection ¶ added in v1.14.10
func (cl *QUICClient) CloseConnection()
func (*QUICClient) Connection ¶ added in v1.14.10
func (cl *QUICClient) Connection() interface{}
func (*QUICClient) ReadString ¶ added in v1.14.10
func (cl *QUICClient) ReadString() (message string)
func (*QUICClient) Receive ¶ added in v1.14.10
func (cl *QUICClient) Receive() (fullMessage []byte, err error)
func (*QUICClient) ReceiveChunking ¶ added in v1.14.10
func (cl *QUICClient) ReceiveChunking() (fullMessage []byte, err error)
func (*QUICClient) Send ¶ added in v1.14.10
func (cl *QUICClient) Send(msg []byte) error
func (*QUICClient) SetAdaptId ¶ added in v1.14.10
func (cl *QUICClient) SetAdaptId(adaptId int)
func (*QUICClient) WriteString ¶ added in v1.14.10
func (cl *QUICClient) WriteString(message string)
type RPC ¶
type RPC struct {
// contains filtered or unexported fields
}
func (*RPC) AvailableConnectionFromPool ¶
func (*RPC) CloseConnection ¶
func (st *RPC) CloseConnection()
func (*RPC) ConnectToServer ¶
func (*RPC) GetClientFromAddr ¶
func (*RPC) GetClients ¶
func (*RPC) ReadString ¶
func (*RPC) ResetClients ¶
func (st *RPC) ResetClients()
func (*RPC) StartServer ¶
func (*RPC) StopServer ¶
func (st *RPC) StopServer()
func (*RPC) WriteString ¶
type RPCClient ¶
type RPCClient struct {
Ip string
// contains filtered or unexported fields
}
func (*RPCClient) CloseConnection ¶
func (cl *RPCClient) CloseConnection()
func (*RPCClient) Connection ¶
func (cl *RPCClient) Connection() interface{}
func (*RPCClient) ReadString ¶
func (*RPCClient) SetAdaptId ¶
func (*RPCClient) WriteString ¶
type RPCRequest ¶
type RPCRequest struct {
// contains filtered or unexported fields
}
type TCP ¶
type TCP struct {
// contains filtered or unexported fields
}
func (*TCP) AvailableConnectionFromPool ¶
func (*TCP) CloseConnection ¶
func (st *TCP) CloseConnection()
func (*TCP) ConnectToServer ¶
func (*TCP) GetClientFromAddr ¶
func (*TCP) GetClients ¶
func (*TCP) ReadString ¶
func (*TCP) ReceiveManualChunking ¶ added in v1.14.10
func (*TCP) ResetClients ¶
func (st *TCP) ResetClients()
func (*TCP) SendManualChunking ¶ added in v1.14.10
func (*TCP) StartServer ¶
func (*TCP) StopServer ¶
func (st *TCP) StopServer()
func (*TCP) WriteString ¶
type TCPClient ¶
type TCPClient struct {
Ip string
// contains filtered or unexported fields
}
func (*TCPClient) CloseConnection ¶
func (cl *TCPClient) CloseConnection()
func (*TCPClient) Connection ¶
func (cl *TCPClient) Connection() interface{}
func (*TCPClient) ReadString ¶
func (*TCPClient) ReceiveManualChunking ¶ added in v1.14.10
func (*TCPClient) SetAdaptId ¶
func (*TCPClient) WriteString ¶
type TLS ¶ added in v1.14.10
type TLS struct {
// contains filtered or unexported fields
}
func (*TLS) AvailableConnectionFromPool ¶ added in v1.14.10
func (*TLS) CloseConnection ¶ added in v1.14.10
func (st *TLS) CloseConnection()
func (*TLS) ConnectToServer ¶ added in v1.14.10
func (*TLS) GetClientFromAddr ¶ added in v1.14.10
func (*TLS) GetClients ¶ added in v1.14.10
func (*TLS) ReadString ¶ added in v1.14.10
func (*TLS) ReceiveChunking ¶ added in v1.14.10
func (*TLS) ResetClients ¶ added in v1.14.10
func (st *TLS) ResetClients()
func (*TLS) SendChunking ¶ added in v1.14.10
func (*TLS) StartServer ¶ added in v1.14.10
func (*TLS) StopServer ¶ added in v1.14.10
func (st *TLS) StopServer()
func (*TLS) WaitForConnection ¶ added in v1.14.10
func (*TLS) WriteString ¶ added in v1.14.10
type TLSClient ¶ added in v1.14.10
type TLSClient struct {
Ip string
// contains filtered or unexported fields
}
func (*TLSClient) CloseConnection ¶ added in v1.14.10
func (cl *TLSClient) CloseConnection()
func (*TLSClient) Connection ¶ added in v1.14.10
func (cl *TLSClient) Connection() interface{}
func (*TLSClient) ReadString ¶ added in v1.14.10
func (*TLSClient) ReceiveChunking ¶ added in v1.14.10
func (*TLSClient) SetAdaptId ¶ added in v1.14.10
func (*TLSClient) WriteString ¶ added in v1.14.10
type UDP ¶ added in v1.14.10
type UDP struct {
// contains filtered or unexported fields
}
func (*UDP) AvailableConnectionFromPool ¶ added in v1.14.10
func (*UDP) CloseConnection ¶ added in v1.14.10
func (st *UDP) CloseConnection()
func (*UDP) ConnectToServer ¶ added in v1.14.10
func (*UDP) GetClientFromAddr ¶ added in v1.14.10
func (*UDP) GetClients ¶ added in v1.14.10
func (*UDP) ReadString ¶ added in v1.14.10
func (*UDP) ReceiveStream ¶ added in v1.14.10
func (*UDP) ResetClients ¶ added in v1.14.10
func (st *UDP) ResetClients()
func (*UDP) SendChunking ¶ added in v1.14.10
func (*UDP) SendStream ¶ added in v1.14.10
func (*UDP) StartServer ¶ added in v1.14.10
func (*UDP) StopServer ¶ added in v1.14.10
func (st *UDP) StopServer()
func (*UDP) WaitForConnection ¶ added in v1.14.10
func (*UDP) WriteString ¶ added in v1.14.10
type UDPClient ¶ added in v1.14.10
type UDPClient struct {
Ip string
// contains filtered or unexported fields
}
func (*UDPClient) CloseConnection ¶ added in v1.14.10
func (cl *UDPClient) CloseConnection()
func (*UDPClient) Connection ¶ added in v1.14.10
func (cl *UDPClient) Connection() interface{}
func (*UDPClient) ReadString ¶ added in v1.14.10
func (*UDPClient) ReceiveChunking ¶ added in v1.14.10
func (*UDPClient) ReceiveStream ¶ added in v1.14.10
func (*UDPClient) SetAdaptId ¶ added in v1.14.10
func (*UDPClient) WriteString ¶ added in v1.14.10
Click to show internal directories.
Click to hide internal directories.