Versions in this module Expand all Collapse all v0 v0.1.4 Oct 27, 2024 Changes in this version + var DebugChan = make(chan string, 10) + var ErrorChan = make(chan error, 10) + var LogChan = make(chan string, 10) + var WarnChan = make(chan error, 10) + type Config struct + ConnWaitTime time.Duration + HealthCheck bool + Host string + IdleTimeout time.Duration + MaxConnErrors uint32 + MaxConns uint32 + MaxTooManyConnsErrors uint32 + Name string + Pass string + Port uint32 + SSL bool + SkipSSLCheck bool + User string + type ConnectionPool interface + Close func() + Conns func() (uint32, uint32) + Get func(ctx context.Context) (*NNTPConn, error) + MaxConns func() uint32 + Put func(conn *NNTPConn) + func New(c interface{}, initialConns uint32) (ConnectionPool, error) + type MultiConfig struct + Name string + Providers []*Config + type NNTPConn struct