| 1 | Source: golang-github-burntsushi-locker |
| 2 | Maintainer: Debian Go Packaging Team <[email protected]> |
| 3 | Uploaders: Anthony Fok <[email protected]> |
| 4 | Section: devel |
| 5 | Testsuite: autopkgtest-pkg-go |
| 6 | Priority: optional |
| 7 | Build-Depends: debhelper-compat (= 12), |
| 8 | dh-golang, |
| 9 | golang-any |
| 10 | Standards-Version: 4.5.0 |
| 11 | Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-burntsushi-locker |
| 12 | Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-burntsushi-locker.git |
| 13 | Homepage: https://github.com/BurntSushi/locker |
| 14 | Rules-Requires-Root: no |
| 15 | XS-Go-Import-Path: github.com/BurntSushi/locker |
| 16 | |
| 17 | Package: golang-github-burntsushi-locker-dev |
| 18 | Architecture: all |
| 19 | Depends: ${misc:Depends} |
| 20 | Multi-Arch: foreign |
| 21 | Description: simple Go package for conveniently using named read/write locks |
| 22 | Package locker is a simple Go package to manage named ReadWrite mutexes. |
| 23 | These appear to be especially useful for synchronizing access |
| 24 | to session based information in web applications. |
| 25 | . |
| 26 | The common use case is to use the package level functions, which use |
| 27 | a package level set of locks (safe to use from multiple goroutines |
| 28 | simultaneously). However, you may also create a new separate set |
| 29 | of locks. |
| 30 | . |
| 31 | All locks are implemented with read-write mutexes. To use them |
| 32 | like a regular mutex, simply ignore the RLock/RUnlock functions. |