From 954a8f071deff27d0434027e4787e72fbd7880d4 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 25 Jul 2020 02:39:33 +0700 Subject: all: implement UI to create, update, delete hosts file in hosts.d The UI will update (insert or remove) the records on cache on the fly. --- environment.go | 1 + 1 file changed, 1 insertion(+) (limited to 'environment.go') diff --git a/environment.go b/environment.go index a998884..34cb665 100644 --- a/environment.go +++ b/environment.go @@ -59,6 +59,7 @@ type environment struct { Debug int `ini:"rescached::debug"` HostsBlocksRaw []string `ini:"rescached::hosts_block" json:"-"` HostsBlocks []*hostsBlock + HostsFiles []*hostsFile } func loadEnvironment(file string) (env *environment) { -- cgit v1.3