hosts

package
v0.16.11 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2015 License: MPL-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDomain

func AddDomain()

AddDomain

func HasDomain

func HasDomain() (has bool)

HasDomain

func RemoveDomain

func RemoveDomain()

RemoveDomain

Types

type Host

type Host interface {
	HasDomain() bool
	AddDomain()
	RemoveDomain()
}
var (
	Default Host = host{}
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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