share

package
v1.10.6-1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HostsHeader = "# Before keights host entries"
	HostsFooter = "# After keights host entries"
)

Variables

This section is empty.

Functions

func DoIt

func DoIt(inputFile, hostsFile, prefix, domain string) error

func FormatHosts

func FormatHosts(mapping map[string]string, prefix, domain string) []string

func NewHosts

func NewHosts(before, after, shareHosts []string) []byte

func SplitHosts

func SplitHosts(hostsFile string) ([]byte, []string, []string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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