manager

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: GPL-3.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

AvailableSources is a list of sourceMetadata sourceMetadata.

Functions

func GetSources added in v1.3.7

func GetSources(since *time.Time, sourceURL event.SourceURL) ([]source.Source, []error)

GetSources gets a source, if possible, for the specified sourceURL.

func New

func New(config Config, opts ...interface{}) (*model.Manager, error)

New creates an empty Manager.

Types

type Config

type Config struct {
	DumpMetrics bool
	DumpUnknown bool
	Level       level.Level
	Filters     []model.Filter
	Mappings    []mapping.Mapping
	RateLimit   uint
}

Config ...

Jump to

Keyboard shortcuts

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