Path to this page:
./
devel/go-gls,
Goroutine local storage
Branch: pkgsrc-2018Q4,
Version: 4.2.0nb10,
Package name: go-gls-4.2.0nb10,
Maintainer: pkgsrc-usersEvery so often, a thread shows up on the golang-nuts asking for some form of
goroutine-local-storage, or some kind of goroutine id, or some kind of context.
There are a few valid use cases for goroutine-local-storage, one of the most
prominent being log line context. One poster was interested in being able to
log an HTTP request context id in every log line in the same goroutine as the
incoming HTTP request, without having to change every library and function call
he was interested in logging.
It is my duty to point you to https://blog.golang.org/context, which is how
Google solves all of the problems you'd perhaps consider using this package for
at scale.
Required to build:[
lang/go111] [
pkgtools/cwrappers]
Master sites:
SHA1: 6fa513402b6571eaa564cee4f27b5261de49cae1
RMD160: 5079484ad141a888941ab1648d772f8b94302cd5
Filesize: 6.313 KB
Version history: (Expand)
- (2019-02-08) Updated to version: go-gls-4.2.0nb10
- (2019-01-02) Package added to pkgsrc.se, version go-gls-4.2.0nb9 (created)
CVS history: (Expand)