_5_batching

package
v0.0.0-...-24b7180 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFromChannel

func ReadFromChannel(dataCh chan Item)

Types

type BatchedSender

type BatchedSender struct {
	// contains filtered or unexported fields
}

func (*BatchedSender) Send

func (b *BatchedSender) Send(dataCh chan<- [batchSize]Item, item Item)

type Item

type Item struct {
	ID int
}

Jump to

Keyboard shortcuts

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