Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnySupply ¶
type AnySupply struct {
// contains filtered or unexported fields
}
AnySupply is a supply channel
func MakeAnySupplyBuff ¶
MakeAnySupplyBuff returns a (pointer to a) fresh buffered (with capacity=`cap`) supply channel
func MakeAnySupplyChan ¶
func MakeAnySupplyChan() *AnySupply
MakeAnySupplyChan returns a (pointer to a) fresh unbuffered supply channel
func (*AnySupply) Provide ¶
func (c *AnySupply) Provide(dat anyThing)
Provide is the send method - aka "myAnyChan <- myAny"
Click to show internal directories.
Click to hide internal directories.