hostsfile

package
v1.0.88 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// MaxLines defines the maximum number of lines the Parse function will process from the hosts file.
	MaxLines = 4096
)

Functions

func Parse

func Parse(p string) (map[string][]string, error)

func ParseDefault

func ParseDefault() (map[string][]string, error)

func Path

func Path() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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