Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct {
// contains filtered or unexported fields
}
Channel wraps the built-in channel and provide safe operations beyond it
func NewBufferedChannel ¶
NewBufferedChannel creates a buffered Channel
func (*Channel) Close ¶
func (c *Channel) Close()
Close closes an active channel This method can be called many times without risks
Click to show internal directories.
Click to hide internal directories.