annotation

package
Version: v0.0.0-...-8992419 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package annotation annotates flows with meta data from external sources

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotator

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

Annotator represents an flow annotator

func New

func New(inputs []chan *netflow.Flow, output chan *netflow.Flow, numWorkers int, cfg *config.Config) *Annotator

New creates a new `Annotator` instance

func (*Annotator) Init

func (a *Annotator) Init()

Init get's the annotation layer started, receives flows, annotates them, and carries them further to the database module

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL