manager

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 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 GetSource

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

GetSource 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
	Schemas     []schema.Schema
	RateLimit   uint
}

Config ...

Jump to

Keyboard shortcuts

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