util

package
v0.9.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGID added in v0.9.1

func GetGID() uint64

Types

type Signaler

type Signaler struct {
	C chan struct{}
	// contains filtered or unexported fields
}

Signaler allows for multiple writers to safely signal an event so that reader on the channel C would get unblocked

func NewSignaler

func NewSignaler() *Signaler

NewSignaler initializes a new obj

func (*Signaler) Signal

func (s *Signaler) Signal()

Signal safely closes the blocking channel

Directories

Path Synopsis
Package bitvector provides functionality of a simple bit vector implementation.
Package bitvector provides functionality of a simple bit vector implementation.
bmt
Package bmtpool provides easy access to binary merkle tree hashers managed in as a resource pool.
Package bmtpool provides easy access to binary merkle tree hashers managed in as a resource pool.
reference
Package reference is a simple nonconcurrent reference implementation for hashsize segment based Binary Merkle tree hash on arbitrary but fixed maximum chunksize n where 0 <= n <= 4096
Package reference is a simple nonconcurrent reference implementation for hashsize segment based Binary Merkle tree hash on arbitrary but fixed maximum chunksize n where 0 <= n <= 4096
Package flipflop exposes a buffered input functionality that mimicks the behavior of falling edge detection which is done when doing signal processing on digital or analog electric circuitry.
Package flipflop exposes a buffered input functionality that mimicks the behavior of falling edge detection which is done when doing signal processing on digital or analog electric circuitry.
limit
Package limit provides a mechanism to rate limit requests based on a string key, refill rate and burst amount.
Package limit provides a mechanism to rate limit requests based on a string key, refill rate and burst amount.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL