app

package
v0.0.0-...-a9e9cf7 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallReportAtEveryTick

func CallReportAtEveryTick(reporter *Reporter, ticker *time.Ticker, finish <-chan struct{})

func ClientHandler

func ClientHandler(ctx context.Context, cancelCtx context.CancelFunc, readCloser io.ReadCloser, reporter *Reporter, done chan<- struct{})

Types

type Reporter

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

func NewReporter

func NewReporter(uniqueWrite, statsWriter io.Writer) *Reporter

func (*Reporter) Record

func (r *Reporter) Record(number domain.Number) error

func (*Reporter) Report

func (r *Reporter) Report() error

Jump to

Keyboard shortcuts

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