Affected by GO-2022-0807
and 1 other vulnerabilities
GO-2022-0807 : Improper Access Control in Lightning Network Daemon in github.com/lightningnetwork/lnd
GO-2024-2943 : Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service in github.com/lightningnetwork/lnd
Discover Packages
github.com/lightningnetwork/lnd
multimutex
package
Version:
v0.5.1-beta-rc2
Opens a new window with list of versions in this module.
Published: Nov 16, 2018
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Mutex is a struct that keeps track of a set of mutexes with
a given ID. It can be used for making sure only one goroutine
gets given the mutex per ID.
NewMutex creates a new Mutex.
Lock locks the mutex by the given ID. If the mutex is already
locked by this ID, Lock blocks until the mutex is available.
Unlock unlocks the mutex by the given ID. It is a run-time
error if the mutex is not locked by the ID on entry to Unlock.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.