package
0.0.0-20230203010516-6d4bf48beedd
Repository: https://github.com/onyx-protocol/onyx.git
Documentation: pkg.go.dev
# Functions
FromContext returns the request ID stored in ctx, if any.
FromSubContext returns the sub-request ID stored in ctx, if any.
No description provided by the author
New generates a random request ID.
NewContext returns a new Context that carries reqid.
NewSubContext returns a new Context that carries subreqid It also adds a log prefix to print the sub-request ID using package chain/log.