Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface {
// GetPool returns the current connection pool or error if not available
GetPool() (nntppool.UsenetConnectionPool, error)
// SetProviders creates/recreates the pool with new providers
SetProviders(providers []nntppool.UsenetProviderConfig) error
// ClearPool shuts down and removes the current pool
ClearPool() error
// HasPool returns true if a pool is currently available
HasPool() bool
}
Manager provides centralized NNTP connection pool management
func NewManager ¶
NewManager creates a new pool manager
Click to show internal directories.
Click to hide internal directories.