Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultHeartbeat is the default heartbeat duration DefaultHeartbeat = 10 * time.Second // DefaultConnectionTimeout is the default connection timeout duration DefaultConnectionTimeout = 3 * time.Second // DefaultLocale is the default connection locale DefaultLocale = "en_US" // DefaultInsecureSkipTLSVerify is the default insecure skip tls verify DefaultInsecureSkipTLSVerify = false )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(r *RabbitMQ)
Option configures a RabbitMQ.
func WithInsecureSkipTLSVerify ¶
WithInsecureSkipTLSVerify controls whether a client verifies the server's certificate chain and hostname
func WithTimeout ¶
WithTimeout configures a timeout for maximum amount of time a dial will wait for a connection to complete
Click to show internal directories.
Click to hide internal directories.