package
0.0.2
Repository: https://github.com/jynychen/adguardhome.git
Documentation: pkg.go.dev

# Functions

NewParser returns a new filtering-rule parser.

# Constants

DefaultRuleBufSize is the default length of a buffer used to read a line with a filtering rule, in bytes.
ErrHTML is returned by [Parser.Parse] if the data is likely to be HTML.

# Structs

Parser is a filtering-rule parser that collects data, such as the checksum and the title, as well as counts rules and removes comments.
ParseResult contains information about the results of parsing a filtering-rule list by [Parser.Parse].