//
pkg.gl
Category
github.com/vdaas/vald
internal
sync
semaphore
package
1.7.16
Repository:
https://github.com/vdaas/vald.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
1
Files
119 SLOC
#
Functions
NewWeighted
NewWeighted creates a new weighted semaphore with the given maximum combined weight for concurrent access.
#
Structs
Weighted
Weighted provides a way to bound concurrent access to a resource.