Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Detach ¶
Detach returns a new context which continues to have access to its parent values but is no longer bound/attached to the parents timeouts nor deadlines.
If a nil context is passed in a new Background context will be used as the parent.
This is useful for when you wish to pass along values such as span or logging information but do not want the current operation to be cancelled despite what upstream code/callers think.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.