Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DChLSM ¶
type DChLSM struct {
// contains filtered or unexported fields
}
DChLSM is a demand channel
func MakeDemandLSMBuff ¶
MakeDemandLSMBuff returns a (pointer to a) fresh buffered (with capacity cap) demand channel
func MakeDemandLSMChan ¶
func MakeDemandLSMChan() *DChLSM
MakeDemandLSMChan returns a (pointer to a) fresh unbuffered demand channel
func (*DChLSM) ProvideLSM ¶
func (c *DChLSM) ProvideLSM(dat *lsm.LazyStringerMap)
ProvideLSM is the send function - aka "MyKind <- some LSM"
func (*DChLSM) RequestLSM ¶
func (c *DChLSM) RequestLSM() (dat *lsm.LazyStringerMap)
RequestLSM is the receive function - aka "some LSM <- MyKind"
type LSMChan ¶
type LSMChan interface { LSMROnlyChan // aka "<-chan" - receive only LSMSOnlyChan // aka "chan<-" - send only }
LSMChan represents a bidirectional channel
type LSMROnlyChan ¶
type LSMROnlyChan interface { RequestLSM() (dat *lsm.LazyStringerMap) // the receive function - aka "MyLSM := <-MyLSMROnlyChan" TryLSM() (dat *lsm.LazyStringerMap, open bool) // the multi-valued comma-ok receive function - aka "MyLSM, ok := <-MyLSMROnlyChan" }
LSMROnlyChan represents a receive-only channel
type LSMSOnlyChan ¶
type LSMSOnlyChan interface {
ProvideLSM(dat *lsm.LazyStringerMap) // the send function - aka "MyKind <- some LSM"
}
LSMSOnlyChan represents a send-only channel
type SChLSM ¶
type SChLSM struct {
// contains filtered or unexported fields
}
SChLSM is a supply channel
func MakeSupplyLSMBuff ¶
MakeSupplyLSMBuff returns a (pointer to a) fresh buffered (with capacity cap) supply channel
func MakeSupplyLSMChan ¶
func MakeSupplyLSMChan() *SChLSM
MakeSupplyLSMChan returns a (pointer to a) fresh unbuffered supply channel
func (*SChLSM) ProvideLSM ¶
func (c *SChLSM) ProvideLSM(dat *lsm.LazyStringerMap)
ProvideLSM is the send function - aka "MyKind <- some LSM"
func (*SChLSM) RequestLSM ¶
func (c *SChLSM) RequestLSM() (dat *lsm.LazyStringerMap)
RequestLSM is the receive function - aka "some LSM <- MyKind"