Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultOperationTimeout is the default timeout for Redis operations (5 seconds) DefaultOperationTimeout = 5 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func WithDefaultTimeout ¶
WithDefaultTimeout creates a context with the default operation timeout
func WithTimeout ¶
WithTimeout creates a context with the given timeout
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.