hosts

package
v0.0.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearHosts

func ClearHosts() error

func IsValidHostname

func IsValidHostname(host string) bool

func UpdateHosts

func UpdateHosts(host string, enable bool) error

Types

type UpdateResult

type UpdateResult struct {
}

Jump to

Keyboard shortcuts

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