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
Click to show internal directories.
Click to hide internal directories.