Skip to content

osal.hostsfile #

struct Host #

struct Host {
pub mut:
	ip     string
	domain string
}

struct HostsFile #

@[heap]
struct HostsFile {
pub mut:
	sections []Section
}

Todo: will be broken now

struct Section #

struct Section {
pub mut:
	name  string
	hosts []Host
}