Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringChan ¶
type StringChan struct {
// contains filtered or unexported fields
}
StringChan is a deduplicating string channel
func NewStringChan ¶
func NewStringChan(bufferSize int) *StringChan
NewStringChan creates a StringChan with the specified buffer size
func (*StringChan) In ¶
func (c *StringChan) In() chan<- string
In returns the input channel of the deduplicator
func (*StringChan) Out ¶
func (c *StringChan) Out() <-chan string
Out returns the output channel of the deduplicator
Click to show internal directories.
Click to hide internal directories.