channel

package
v0.0.0-...-d032931 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2018 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetChannelCount

func SetChannelCount(count int)

func ShardedWatching

func ShardedWatching(sh Sharded, writer Watcher, reader Watcher)

Types

type Sharded

type Sharded struct {
	Reader chan int
	Writer chan int
}

type Watcher

type Watcher func() bool

Jump to

Keyboard shortcuts

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