Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeaderChan ¶
type HeaderChan interface { HeaderROnlyChan // aka "<-chan" - receive only HeaderSOnlyChan // aka "chan<-" - send only }
HeaderChan represents a bidirectional channel
type HeaderROnlyChan ¶
type HeaderROnlyChan interface { RequestHeader() (dat *tar.Header) // the receive function - aka "MyHeader := <-MyHeaderROnlyChan" TryHeader() (dat *tar.Header, open bool) // the multi-valued comma-ok receive function - aka "MyHeader, ok := <-MyHeaderROnlyChan" }
HeaderROnlyChan represents a receive-only channel
type HeaderSOnlyChan ¶
type HeaderSOnlyChan interface {
ProvideHeader(dat *tar.Header) // the send function - aka "MyKind <- some Header"
}
HeaderSOnlyChan represents a send-only channel
type ReaderChan ¶
type ReaderChan interface { ReaderROnlyChan // aka "<-chan" - receive only ReaderSOnlyChan // aka "chan<-" - send only }
ReaderChan represents a bidirectional channel
type ReaderROnlyChan ¶
type ReaderROnlyChan interface { RequestReader() (dat *tar.Reader) // the receive function - aka "MyReader := <-MyReaderROnlyChan" TryReader() (dat *tar.Reader, open bool) // the multi-valued comma-ok receive function - aka "MyReader, ok := <-MyReaderROnlyChan" }
ReaderROnlyChan represents a receive-only channel
type ReaderSOnlyChan ¶
type ReaderSOnlyChan interface {
ProvideReader(dat *tar.Reader) // the send function - aka "MyKind <- some Reader"
}
ReaderSOnlyChan represents a send-only channel
type SChHeader ¶
type SChHeader struct {
// contains filtered or unexported fields
}
SChHeader is a supply channel
func MakeSupplyHeaderBuff ¶
MakeSupplyHeaderBuff returns a (pointer to a) fresh buffered (with capacity cap) supply channel
func MakeSupplyHeaderChan ¶
func MakeSupplyHeaderChan() *SChHeader
MakeSupplyHeaderChan returns a (pointer to a) fresh unbuffered supply channel
func (*SChHeader) ProvideHeader ¶
ProvideHeader is the send function - aka "MyKind <- some Header"
func (*SChHeader) RequestHeader ¶
RequestHeader is the receive function - aka "some Header <- MyKind"
type SChReader ¶
type SChReader struct {
// contains filtered or unexported fields
}
SChReader is a supply channel
func MakeSupplyReaderBuff ¶
MakeSupplyReaderBuff returns a (pointer to a) fresh buffered (with capacity cap) supply channel
func MakeSupplyReaderChan ¶
func MakeSupplyReaderChan() *SChReader
MakeSupplyReaderChan returns a (pointer to a) fresh unbuffered supply channel
func (*SChReader) ProvideReader ¶
ProvideReader is the send function - aka "MyKind <- some Reader"
func (*SChReader) RequestReader ¶
RequestReader is the receive function - aka "some Reader <- MyKind"
type SChWriter ¶
type SChWriter struct {
// contains filtered or unexported fields
}
SChWriter is a supply channel
func MakeSupplyWriterBuff ¶
MakeSupplyWriterBuff returns a (pointer to a) fresh buffered (with capacity cap) supply channel
func MakeSupplyWriterChan ¶
func MakeSupplyWriterChan() *SChWriter
MakeSupplyWriterChan returns a (pointer to a) fresh unbuffered supply channel
func (*SChWriter) ProvideWriter ¶
ProvideWriter is the send function - aka "MyKind <- some Writer"
func (*SChWriter) RequestWriter ¶
RequestWriter is the receive function - aka "some Writer <- MyKind"
type WriterChan ¶
type WriterChan interface { WriterROnlyChan // aka "<-chan" - receive only WriterSOnlyChan // aka "chan<-" - send only }
WriterChan represents a bidirectional channel
type WriterROnlyChan ¶
type WriterROnlyChan interface { RequestWriter() (dat *tar.Writer) // the receive function - aka "MyWriter := <-MyWriterROnlyChan" TryWriter() (dat *tar.Writer, open bool) // the multi-valued comma-ok receive function - aka "MyWriter, ok := <-MyWriterROnlyChan" }
WriterROnlyChan represents a receive-only channel
type WriterSOnlyChan ¶
type WriterSOnlyChan interface {
ProvideWriter(dat *tar.Writer) // the send function - aka "MyKind <- some Writer"
}
WriterSOnlyChan represents a send-only channel