util

package
v0.0.0-...-9fdc65e Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyChannel

func VerifyChannel(channel types.Channel) bool

VerifyChannel returns true if a channel has all required fields

Types

type Closer

type Closer struct {

	// C is the channel that gets closed with Close
	C chan struct{}
	// contains filtered or unexported fields
}

Closer is useful for signaling

func (*Closer) Close

func (c *Closer) Close()

func (*Closer) Reset

func (c *Closer) Reset()

Jump to

Keyboard shortcuts

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