Updated api
This commit is contained in:
+9
-9
@@ -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,7 +141,7 @@ var (
|
|||||||
// Inbound Worker options
|
// Inbound Worker options
|
||||||
|
|
||||||
var (
|
var (
|
||||||
WithInboundDeadTimeout = inbound.WithDeadTimeout
|
WithInboundInactivityTimeout = inbound.WithInactivityTimeout
|
||||||
WithInboundMaxQueueSize = inbound.WithMaxQueueSize
|
WithInboundMaxQueueSize = inbound.WithMaxQueueSize
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user