Documentation ¶
Index ¶
- func AtomicLoadAndIncrementUint64(addr *uint64) uint64
- func CloseVerbose(closer io.Closer)
- func GenerateShortID(ref core.RecordRef) core.ShortNodeID
- func GenerateUintShortID(ref core.RecordRef) uint32
- func OriginIsDiscovery(cert core.Certificate) bool
- func WaitTimeout(wg *sync.WaitGroup, timeout time.Duration) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtomicLoadAndIncrementUint64 ¶
AtomicLoadAndIncrementUint64 performs CAS loop, increments counter and returns old value.
func CloseVerbose ¶ added in v0.7.5
func GenerateShortID ¶
func GenerateShortID(ref core.RecordRef) core.ShortNodeID
GenerateShortID generate short ID for node without checking collisions
func GenerateUintShortID ¶ added in v0.8.0
GenerateShortID generate short ID for node without checking collisions
func OriginIsDiscovery ¶
func OriginIsDiscovery(cert core.Certificate) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.