classifier

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: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAddress        = ":8802"
	DefaultMonitorAddress = ":8902"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Classifier

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

Classifier receives data from receiver via gRPC framework

func NewClassifier

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

func (*Classifier) Start

func (c *Classifier) Start() error

func (*Classifier) Stop

func (c *Classifier) Stop() error

type EventWrapper

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

func (EventWrapper) Date

func (e EventWrapper) Date() string

Jump to

Keyboard shortcuts

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