etchosts

package
v1.5.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(path, IP, hostname, domainname string, extraContent []Record) error

func Update added in v1.3.0

func Update(path, IP, hostname string) error

Types

type Record added in v1.4.0

type Record struct {
	Hosts string
	IP    string
}

func (Record) WriteTo added in v1.4.0

func (r Record) WriteTo(w io.Writer) (int64, error)

Jump to

Keyboard shortcuts

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