hosts

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2016 License: MPL-2.0 Imports: 6 Imported by: 0

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{}
)

Jump to

Keyboard shortcuts

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