Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostsParser ¶
type HostsParser interface { ReadHostsFile(hostsPath string) ([]byte, error) DownloadHostsFile(hostsURL string) ([]byte, error) ParseProfile(hostsFileContent []byte) string ParseHosts(hostsFileContent []byte) model.HostList }
func NewHostsParser ¶
func NewHostsParser() HostsParser
type ProfileParser ¶
func NewProfileParser ¶
func NewProfileParser() ProfileParser
Click to show internal directories.
Click to hide internal directories.