package
0.0.0-20220214151720-7585b01ddccf
Repository: https://github.com/inetaf/netstack.git
Documentation: pkg.go.dev
# Functions
Background returns an empty context using the default logger.
WithValue returns a copy of parent in which the value associated with key is val.
# Structs
NoopSleeper is a noop implementation of ChannelSleeper and Context.UninterruptibleSleep* methods for anonymous embedding in other types that do not implement special behavior around sleeps.
# Interfaces
A ChannelSleeper represents a goroutine that may sleep interruptibly, where interruption is indicated by a channel becoming readable.
A Context represents a thread of execution (hereafter "goroutine" to reflect Go idiosyncrasy).