parser

package
v3.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: GPL-3.0 Imports: 35 Imported by: 3 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSImporter added in v1.0.0

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

FSImporter provides the ability to import bro files from the file system

func NewFSImporter added in v1.0.0

func NewFSImporter(res *resources.Resources,
	indexingThreads int, parseThreads int, importFiles []string) *FSImporter

NewFSImporter creates a new file system importer

func (*FSImporter) CollectFileDetails

func (fs *FSImporter) CollectFileDetails() []*fpt.IndexedFile

func (*FSImporter) GetInternalSubnets

func (fs *FSImporter) GetInternalSubnets() []*net.IPNet

GetInternalSubnets returns the internal subnets from the config file

func (*FSImporter) Run added in v1.0.0

func (fs *FSImporter) Run(indexedFiles []*fpt.IndexedFile)

Run starts the importing

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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