config

package
v0.0.0-...-b8a1a0e Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPcapTTL        = 72
	DefaultPcapQueueCount = 2
	DefaultPcapQueueSize  = 10000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Base           *config.Config
	PcapQueueCount int                   `yaml:"pcap-queue-count"`
	PcapQueueSize  int                   `yaml:"pcap-queue-size"`
	CKWriterConfig config.CKWriterConfig `yaml:"pcap-ck-writer"`
	TTL            int                   `yaml:"pcap-ttl"`
}

func Load

func Load(base *config.Config, path string) *Config

func (*Config) Validate

func (c *Config) Validate() error

type PcapConfig

type PcapConfig struct {
	Pcap Config `yaml:"ingester"`
}

Jump to

Keyboard shortcuts

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