Updated api

This commit is contained in:
Jay
2026-04-20 18:05:44 -04:00
parent 111d813bdf
commit 2d46b6addb
+10 -10
View File
@@ -31,8 +31,8 @@ type OutboundPoolEventKind = outbound.PoolEventKind
// Pool event constants // Pool event constants
const ( const (
EventConnected = outbound.EventConnected OutboundEventConnected = outbound.EventConnected
EventDisconnected = outbound.EventDisconnected OutboundEventDisconnected = outbound.EventDisconnected
) )
// Inbound Pool types // Inbound Pool types
@@ -52,17 +52,17 @@ type InboundPoolEventKind = inbound.PoolEventKind
// Inbound Pool event constants // Inbound Pool event constants
const ( const (
EventPeerDisconnected = inbound.EventDisconnected InboundEventDisconnected = inbound.EventDisconnected
EventPeerDropped = inbound.EventDropped InboundEventDropped = inbound.EventDropped
EventPeerEvicted = inbound.EventEvicted InboundEventEvicted = inbound.EventEvicted
) )
// Inbound Worker exit kinds // Inbound Worker exit kinds
const ( const (
ExitCleanDisconnect = inbound.ExitDisconnected InboundExitDisconnected = inbound.ExitDisconnected
ExitUnexpectedDrop = inbound.ExitError InboundExitError = inbound.ExitError
ExitInactive = inbound.ExitPolicy InboundExitPolicy = inbound.ExitPolicy
) )
// Connection constructors // Connection constructors
@@ -141,8 +141,8 @@ var (
// Inbound Worker options // Inbound Worker options
var ( var (
WithInboundDeadTimeout = inbound.WithDeadTimeout WithInboundInactivityTimeout = inbound.WithInactivityTimeout
WithInboundMaxQueueSize = inbound.WithMaxQueueSize WithInboundMaxQueueSize = inbound.WithMaxQueueSize
) )
// Socket type — needed for inbound pool.Add and pool.Replace // Socket type — needed for inbound pool.Add and pool.Replace