Documentation ¶
Overview ¶
Package ctx defines the context types, which carry information defined for a specific scope (application, request, ...) A context can be passed across API boundaries and between processes.
Incoming requests to a server should create a Context, and outgoing calls to servers should accept a Context. The chain of function calls between must propagate the Context, optionally replacing it with a modified copy.
Programs that use Contexts should follow these rules to keep interfaces consistent across packages and enable static analysis tools to check context propagation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package app defines an application context, which carries information about the application environment.
|
Package app defines an application context, which carries information about the application environment. |
Package journey defines a context type, which carries information about a specific inbound request.
|
Package journey defines a context type, which carries information about a specific inbound request. |
Click to show internal directories.
Click to hide internal directories.