Versions in this module Expand all Collapse all v1 v1.0.0 Dec 11, 2025 Changes in this version + type Pool struct + func NewClientPool(minCap, maxCap int, minIvl, maxIvl time.Duration, keepAlive time.Duration, ...) *Pool + func NewServerPool(maxCap int, clientIP string, tlsConfig *tls.Config, listenAddr string, ...) *Pool + func (p *Pool) Active() int + func (p *Pool) AddError() + func (p *Pool) Capacity() int + func (p *Pool) ClientManager() + func (p *Pool) Close() + func (p *Pool) ErrorCount() int + func (p *Pool) Flush() + func (p *Pool) IncomingGet(timeout time.Duration) (string, net.Conn, error) + func (p *Pool) Interval() time.Duration + func (p *Pool) OutgoingGet(id string, timeout time.Duration) (net.Conn, error) + func (p *Pool) Ready() bool + func (p *Pool) ResetError() + func (p *Pool) ServerManager() + func (p *Pool) ShardCount() int + type Shard struct + type StreamConn struct + func (s *StreamConn) ConnectionState() tls.ConnectionState + func (s *StreamConn) LocalAddr() net.Addr + func (s *StreamConn) RemoteAddr() net.Addr + func (s *StreamConn) SetDeadline(t time.Time) error