sender

package
v2.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender

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

func New

func New(reportChan <-chan *report.Report, w Writer, logger *logrus.Entry) *Sender

func (*Sender) Name

func (s *Sender) Name() string

func (*Sender) Start

func (s *Sender) Start() error

Start starts but doesn't wait until it exits

func (*Sender) Stop

func (s *Sender) Stop()

Stop stops running

type Writer

type Writer interface {
	Write(r *report.Report) error
}

Writer write QAN Report

Jump to

Keyboard shortcuts

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