Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 DChErrorS ¶
type DChErrorS struct {
// contains filtered or unexported fields
}
DChErrorS is a demand channel
func MakeDemandErrorSBuff ¶
MakeDemandErrorSBuff returns a (pointer to a) fresh buffered (with capacity cap) demand channel
func MakeDemandErrorSChan ¶
func MakeDemandErrorSChan() *DChErrorS
MakeDemandErrorSChan returns a (pointer to a) fresh unbuffered demand channel
func (*DChErrorS) ProvideErrorS ¶
ProvideErrorS is the send function - aka "MyKind <- some ErrorS"
func (*DChErrorS) RequestErrorS ¶
RequestErrorS is the receive function - aka "some ErrorS <- MyKind"
type ErrorSChan ¶
type ErrorSChan interface { ErrorSROnlyChan // aka "<-chan" - receive only ErrorSSOnlyChan // aka "chan<-" - send only }
ErrorSChan represents a bidirectional channel
type ErrorSROnlyChan ¶
type ErrorSROnlyChan interface { RequestErrorS() (dat []error) // the receive function - aka "MyErrorS := <-MyErrorSROnlyChan" TryErrorS() (dat []error, open bool) // the multi-valued comma-ok receive function - aka "MyErrorS, ok := <-MyErrorSROnlyChan" }
ErrorSROnlyChan represents a receive-only channel
type ErrorSSOnlyChan ¶
type ErrorSSOnlyChan interface {
ProvideErrorS(dat []error) // the send function - aka "MyKind <- some ErrorS"
}
ErrorSSOnlyChan represents a send-only channel
type ROnlyChan ¶
type ROnlyChan interface { Request() (dat error) // the receive function - aka "My := <-MyROnlyChan" Try() (dat error, 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 SChErrorS ¶
type SChErrorS struct {
// contains filtered or unexported fields
}
SChErrorS is a supply channel
func MakeSupplyErrorSBuff ¶
MakeSupplyErrorSBuff returns a (pointer to a) fresh buffered (with capacity cap) supply channel
func MakeSupplyErrorSChan ¶
func MakeSupplyErrorSChan() *SChErrorS
MakeSupplyErrorSChan returns a (pointer to a) fresh unbuffered supply channel
func (*SChErrorS) ProvideErrorS ¶
ProvideErrorS is the send function - aka "MyKind <- some ErrorS"
func (*SChErrorS) RequestErrorS ¶
RequestErrorS is the receive function - aka "some ErrorS <- MyKind"