Documentation ¶
Overview ¶
Package utils provides random utility functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpCborStructure ¶
DumpCborStructure generates an indented string representing an arbitrary data structure for debugging purposes
Types ¶
type DoneSignal ¶ added in v0.75.0
type DoneSignal struct {
// contains filtered or unexported fields
}
DoneSignal provides a thread-safe way to close a channel and allows other routines to listen to the channel
func NewDoneSignal ¶ added in v0.75.0
func NewDoneSignal() *DoneSignal
func (*DoneSignal) Close ¶ added in v0.75.0
func (cn *DoneSignal) Close()
func (*DoneSignal) GetCh ¶ added in v0.75.0
func (cn *DoneSignal) GetCh() <-chan struct{}
Click to show internal directories.
Click to hide internal directories.