Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contextx ¶
Contextx extends google's context to support logging methods
func Background ¶
func Background() Contextx
Background returns a non-nil, empty Context. It is never canceled, has no values, and has no deadline. It is typically used by the main function, initialization, and tests, and as the top-level Context for incoming requests
func WithCancel ¶
func WithCancel(parent Contextx) (Contextx, context.CancelFunc)
WithCancel returns a copy of parent with added cancel function
func WithTimeout ¶
WithTimeout returns a copy of parent with timeout condition and cancel function
Click to show internal directories.
Click to hide internal directories.