Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InFlight ¶
func New ¶
func New() InFlight
New creates a instance of a simple InFlight set. It's internal data is protected by a simple sync.RWMutex.
func NewConcurrent ¶
func NewConcurrent() InFlight
NewConcurrent creates a instance of a sharded InFlight set. It shards the values over 256 buckets which should afford a decent increase in concurrency support.
Click to show internal directories.
Click to hide internal directories.