config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Links          []string `json:"links"`
	Port           int      `json:"port"`
	IP             string   `json:"ip"`
	Domains        []string `json:"domains"`
	WithEq         bool     `json:"with_eq"`
	FilterLines    []int    `json:"filter_lines"`
	AddLines       []string `json:"add_lines"`
	AddSum         bool     `json:"add_sum"`
	SumSymbols     string   `json:"sum_symbols"`
	UpdateInterval int      `json:"update_interval"`
	WriteToCSV     bool     `json:"write_to_csv"`
	CSVPath        string   `json:"csv_path"`
	WriteToTXT     bool     `json:"write_to_txt"`
	TXTPath        string   `json:"txt_path"`
	DatasetName    string   `json:"dataset_name"`
	Debug          bool     `json:"debug"`
}

func Load

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

func (*Config) FilterLinesZeroIndexed

func (c *Config) FilterLinesZeroIndexed() []int

FilterLinesZeroIndexed returns filter lines converted to zero-based indices

Jump to

Keyboard shortcuts

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