Export new config options.
This commit is contained in:
+10
@@ -93,6 +93,8 @@ var (
|
||||
WithRetryJitterFactor = transport.WithRetryJitterFactor
|
||||
WithWriteTimeout = transport.WithWriteTimeout
|
||||
WithCloseHandler = transport.WithCloseHandler
|
||||
WithConnectionLoggingEnabled = transport.WithLoggingEnabled
|
||||
WithConnectionLogLevel = transport.WithLogLevel
|
||||
)
|
||||
|
||||
// Outbound Pool constructors
|
||||
@@ -115,6 +117,8 @@ var (
|
||||
WithOutboundInboxBufferSize = outbound.WithInboxBufferSize
|
||||
WithOutboundEventsBufferSize = outbound.WithEventsBufferSize
|
||||
WithOutboundErrorsBufferSize = outbound.WithErrorsBufferSize
|
||||
WithOutboundPoolLoggingEnabled = outbound.WithPoolLoggingEnabled
|
||||
WithOutboundPoolLogLevel = outbound.WithPoolLogLevel
|
||||
WithOutboundConnectionConfig = outbound.WithConnectionConfig
|
||||
WithOutboundWorkerConfig = outbound.WithWorkerConfig
|
||||
WithOutboundWorkerFactory = outbound.WithWorkerFactory
|
||||
@@ -125,6 +129,8 @@ var (
|
||||
var (
|
||||
WithOutboundKeepaliveTimeout = outbound.WithKeepaliveTimeout
|
||||
WithOutboundMaxQueueSize = outbound.WithMaxQueueSize
|
||||
WithOutboundWorkerLoggingEnabled = outbound.WithWorkerLoggingEnabled
|
||||
WithOutboundWorkerLogLevel = outbound.WithWorkerLogLevel
|
||||
)
|
||||
|
||||
// Inbound Pool constructors
|
||||
@@ -147,6 +153,8 @@ var (
|
||||
WithInboundInboxBufferSize = inbound.WithInboxBufferSize
|
||||
WithInboundEventsBufferSize = inbound.WithEventsBufferSize
|
||||
WithInboundErrorsBufferSize = inbound.WithErrorsBufferSize
|
||||
WithInboundPoolLoggingEnabled = inbound.WithPoolLoggingEnabled
|
||||
WithInboundPoolLogLevel = inbound.WithPoolLogLevel
|
||||
WithInboundConnectionConfig = inbound.WithConnectionConfig
|
||||
WithInboundWorkerConfig = inbound.WithWorkerConfig
|
||||
WithInboundWorkerFactory = inbound.WithWorkerFactory
|
||||
@@ -157,6 +165,8 @@ var (
|
||||
var (
|
||||
WithInboundInactivityTimeout = inbound.WithInactivityTimeout
|
||||
WithInboundMaxQueueSize = inbound.WithMaxQueueSize
|
||||
WithInboundWorkerLoggingEnabled = inbound.WithWorkerLoggingEnabled
|
||||
WithInboundWorkerLogLevel = inbound.WithWorkerLogLevel
|
||||
)
|
||||
|
||||
// Socket type — needed for inbound pool.Add and pool.Replace
|
||||
|
||||
Reference in New Issue
Block a user