From 2d46b6addbda5faa44b3b0e16cd3bebf012e722b Mon Sep 17 00:00:00 2001 From: Jay Date: Mon, 20 Apr 2026 18:05:44 -0400 Subject: [PATCH] Updated api --- honeybee.go | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/honeybee.go b/honeybee.go index a360448..4b691cf 100644 --- a/honeybee.go +++ b/honeybee.go @@ -31,8 +31,8 @@ type OutboundPoolEventKind = outbound.PoolEventKind // Pool event constants const ( - EventConnected = outbound.EventConnected - EventDisconnected = outbound.EventDisconnected + OutboundEventConnected = outbound.EventConnected + OutboundEventDisconnected = outbound.EventDisconnected ) // Inbound Pool types @@ -52,17 +52,17 @@ type InboundPoolEventKind = inbound.PoolEventKind // Inbound Pool event constants const ( - EventPeerDisconnected = inbound.EventDisconnected - EventPeerDropped = inbound.EventDropped - EventPeerEvicted = inbound.EventEvicted + InboundEventDisconnected = inbound.EventDisconnected + InboundEventDropped = inbound.EventDropped + InboundEventEvicted = inbound.EventEvicted ) // Inbound Worker exit kinds const ( - ExitCleanDisconnect = inbound.ExitDisconnected - ExitUnexpectedDrop = inbound.ExitError - ExitInactive = inbound.ExitPolicy + InboundExitDisconnected = inbound.ExitDisconnected + InboundExitError = inbound.ExitError + InboundExitPolicy = inbound.ExitPolicy ) // Connection constructors @@ -141,8 +141,8 @@ var ( // Inbound Worker options var ( - WithInboundDeadTimeout = inbound.WithDeadTimeout - WithInboundMaxQueueSize = inbound.WithMaxQueueSize + WithInboundInactivityTimeout = inbound.WithInactivityTimeout + WithInboundMaxQueueSize = inbound.WithMaxQueueSize ) // Socket type — needed for inbound pool.Add and pool.Replace