Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicInfo ¶
type BasicInfo int
BasicInfo is a set of flags describing properties of a basic type.
type BoolSChan ¶
type BoolSChan interface { BoolSROnlyChan // aka "<-chan" - receive only BoolSSOnlyChan // aka "chan<-" - send only }
BoolSChan represents a bidirectional channel
type BoolSROnlyChan ¶
type BoolSROnlyChan interface { RequestBoolS() (dat []bool) // the receive function - aka "MyBoolS := <-MyBoolSROnlyChan" TryBoolS() (dat []bool, open bool) // the multi-valued comma-ok receive function - aka "MyBoolS, ok := <-MyBoolSROnlyChan" }
BoolSROnlyChan represents a receive-only channel
type BoolSSOnlyChan ¶
type BoolSSOnlyChan interface {
ProvideBoolS(dat []bool) // the send function - aka "MyKind <- some BoolS"
}
BoolSSOnlyChan represents a send-only channel
type Chan ¶
type Chan interface { ROnlyChan // aka "<-chan" - receive only SOnlyChan // aka "chan<-" - send only }
Chan represents a bidirectional channel
type DCh ¶
type DCh struct {
// contains filtered or unexported fields
}
DCh is a demand channel
func MakeDemandBuff ¶
MakeDemandBuff returns a (pointer to a) fresh buffered (with capacity cap) demand channel
func MakeDemandChan ¶
func MakeDemandChan() *DCh
MakeDemandChan returns a (pointer to a) fresh unbuffered demand channel
type DChBoolS ¶
type DChBoolS struct {
// contains filtered or unexported fields
}
DChBoolS is a demand channel
func MakeDemandBoolSBuff ¶
MakeDemandBoolSBuff returns a (pointer to a) fresh buffered (with capacity cap) demand channel
func MakeDemandBoolSChan ¶
func MakeDemandBoolSChan() *DChBoolS
MakeDemandBoolSChan returns a (pointer to a) fresh unbuffered demand channel
func (*DChBoolS) ProvideBoolS ¶
ProvideBoolS is the send function - aka "MyKind <- some BoolS"
func (*DChBoolS) RequestBoolS ¶
RequestBoolS is the receive function - aka "some BoolS <- MyKind"
type ROnlyChan ¶
type ROnlyChan interface { Request() (dat bool) // the receive function - aka "My := <-MyROnlyChan" Try() (dat bool, open bool) // the multi-valued comma-ok receive function - aka "My, ok := <-MyROnlyChan" }
ROnlyChan represents a receive-only channel
type SCh ¶
type SCh struct {
// contains filtered or unexported fields
}
SCh is a supply channel
func MakeSupplyBuff ¶
MakeSupplyBuff returns a (pointer to a) fresh buffered (with capacity cap) supply channel
func MakeSupplyChan ¶
func MakeSupplyChan() *SCh
MakeSupplyChan returns a (pointer to a) fresh unbuffered supply channel
type SChBoolS ¶
type SChBoolS struct {
// contains filtered or unexported fields
}
SChBoolS is a supply channel
func MakeSupplyBoolSBuff ¶
MakeSupplyBoolSBuff returns a (pointer to a) fresh buffered (with capacity cap) supply channel
func MakeSupplyBoolSChan ¶
func MakeSupplyBoolSChan() *SChBoolS
MakeSupplyBoolSChan returns a (pointer to a) fresh unbuffered supply channel
func (*SChBoolS) ProvideBoolS ¶
ProvideBoolS is the send function - aka "MyKind <- some BoolS"
func (*SChBoolS) RequestBoolS ¶
RequestBoolS is the receive function - aka "some BoolS <- MyKind"