completed inbound pool. Refactored to inbound/outbound semantics.

This commit is contained in:
Jay
2026-04-20 14:19:50 -04:00
parent de3c997279
commit eea208738a
27 changed files with 1401 additions and 244 deletions
+15
View File
@@ -0,0 +1,15 @@
package inbound
import "errors"
var (
// Pool errors
PoolError = errors.New("pool error")
ErrPoolClosed = errors.New("pool is closed")
ErrPeerNotFound = errors.New("peer not found")
ErrPeerExists = errors.New("peer already exists")
// Config errors
InvalidMaxQueueSize = errors.New("maximum queue size cannot be negative")
InvalidDeadTimeout = errors.New("dead timeout cannot be negative")
)