hostsparser

package
v1.3.5-alpha0828 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostsParser

type HostsParser struct {
	Blocks []hostsBlock
	// contains filtered or unexported fields
}

func NewHostsParser

func NewHostsParser(ctx context.Context, raw string) *HostsParser

func (*HostsParser) Contains

func (h *HostsParser) Contains(raw string) bool

func (*HostsParser) Hosts

func (h *HostsParser) Hosts() chan string

func (*HostsParser) Size

func (h *HostsParser) Size() int

Jump to

Keyboard shortcuts

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