receiver

package
v0.0.0-...-fe55c91 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultStorageDir     = "data"
	DefaultAddress        = ":8801"
	DefaultMonitorAddress = ":8901"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Receiver

type Receiver struct {
	hippo.Launcher
	// contains filtered or unexported fields
}

Receiver receives data from agents via gRPC framework

func NewReceiver

func NewReceiver(batchSize int, batchTimeout time.Duration, worker int, monitor bool, monitorAddr string) *Receiver

func (*Receiver) Start

func (r *Receiver) Start() error

func (*Receiver) Stop

func (r *Receiver) Stop() error

Jump to

Keyboard shortcuts

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