config

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2018 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package for parsing goprobe config files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DBPath      string                           `json:"db_path"`
	Interfaces  map[string]capture.CaptureConfig `json:"interfaces"`
	SyslogFlows bool                             `json:"syslog_flows"`
}

func NewConfig

func NewConfig() *Config

func ParseFile

func ParseFile(path string) (*Config, error)

func (Config) Validate

func (c Config) Validate() error

Jump to

Keyboard shortcuts

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