Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultConnectionTimeout is the default connection timeout duration DefaultConnectionTimeout = 3 * time.Second )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(t *TCP)
Option configures a TCP.
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.