deduplication

package
v0.4.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

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) Close

func (c *StringChan) Close()

Close releases all resources

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL