Discover Packages
github.com/hortbot/hortbot
internal
pkg
correlation
package
Version:
v0.0.0-...-c687db1
Opens a new window with list of versions in this module.
Published: May 21, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package correlation provides correlation semantics for use across service boundaries.
FromContext fetches the correlation ID from the context, or returns a nil
ID if not found.
With adds a new correlation ID to the context if one has not already been
added.
WithID adds the specified correlation ID to the context unconditionally,
overwriting any correlation ID already present. If the given ID is nil,
then a new ID will be used.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.