Registry / utility / jbenet-go-context

jbenet-go-context

JSON →
library0.0.0-20150711004518-d14ea06fba99gogounverified

Provides extensions to the standard Go context package, including context-aware io operations.

go get github.com/jbenet/go-context
INSTALL
IMPORT
SIG · JBENET-GO-CONTEXT
J
jbenet-go-context
utilitygov0.0.0-20150711004518-d14ea06fba99
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

io
github.com/jbenet/go-context/io

Creates a context-aware reader that respects context cancellation.

package main import ( "context" "fmt" "github.com/jbenet/go-context/io" ) func main() { ctx := context.Background() // Example: create a context-aware reader reader := ctxio.NewReader(ctx, nil) fmt.Println(reader) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20150711004518-d14ea06fba99latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
jbenet-go-context — go get jbenet-go-context · libregistry