config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultURL       = "" /* 140-byte string literal not displayed */
	DefaultThreshold = 75000000
	DefaultXPath     = "/html/body/div[3]/div[2]/div[4]/div[10]/div[2]/div[2]/div[2]"
)

Variables

View Source
var (
	URL       string
	Threshold int
	XPath     string
)

Functions

This section is empty.

Types

type Parser

type Parser struct{}

func NewConfigParser

func NewConfigParser() *Parser

func (*Parser) Parse

func (c *Parser) Parse(filePath string) error

Parse parses a toml config file, validates the entries, and overrides default values if ok.

Jump to

Keyboard shortcuts

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