etchosts

package
v0.4.9-0...-d85d5a4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 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

func Update(path, IP, hostname string) error

Types

type Record

type Record struct {
	Hosts string
	IP    string
}

func (Record) WriteTo

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