config

package
v0.0.0-...-794156a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Deprecated: use WithTraceTransactionManagerWorkers
	TraceTransactionManagerWorkers bool
	// Deprecated: use WithTraceTransactionManagerTransactions
	TraceTransactionManagerTransactions bool
	// Deprecated: use WithTraceDefaultMessageCodecWorker
	TraceDefaultMessageCodecWorker bool
)

TraceTransactionManagerWorkers when set to true the transaction manager displays worker states in log

View Source
var (
	TraceConnectionCache bool
)

TraceConnectionCache when set to true the connection cache outputs logs by default

Functions

This section is empty.

Types

type WithOption

type WithOption interface {
	options.WithOption
}

WithOption is a marker interface for options

func WithCustomLogger

func WithCustomLogger(logger zerolog.Logger) WithOption

WithCustomLogger is a global option to supply a custom logger

func WithExecutorOptionTracerWorkers

func WithExecutorOptionTracerWorkers(traceWorkers bool) WithOption

WithExecutorOptionTracerWorkers sets a flag which extends logging for workers

func WithPassLoggerToModel

func WithPassLoggerToModel(passLogger bool) WithOption

WithPassLoggerToModel enables passing of log to the model

func WithReceiveTimeout

func WithReceiveTimeout(timeout time.Duration) WithOption

WithReceiveTimeout set's a timeout for a receive-operation (similar to SO_RCVTIMEO)

func WithTraceDefaultMessageCodecWorker

func WithTraceDefaultMessageCodecWorker(traceWorkers bool) WithOption

WithTraceDefaultMessageCodecWorker enables trace default message codec worker

func WithTraceTransactionManagerTransactions

func WithTraceTransactionManagerTransactions(traceTransactions bool) WithOption

WithTraceTransactionManagerTransactions enables trace transaction manager transactions

func WithTraceTransactionManagerWorkers

func WithTraceTransactionManagerWorkers(traceWorkers bool) WithOption

WithTraceTransactionManagerWorkers enables trace transaction manager workers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL