feat: sync cache
This commit is contained in:
parent
7691601a44
commit
297865623a
2
main.go
2
main.go
|
@ -19,7 +19,7 @@ import (
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
fmt.Println("[app] [info] " + time.Now().Format(config.AppTimeFormat) + " kenaito-dns version = " + config.AppVersion)
|
fmt.Println("[app] [info] " + time.Now().Format(config.AppTimeFormat) + " kenaito-dns version = " + config.AppVersion)
|
||||||
go cache.ReloadCache()
|
cache.ReloadCache()
|
||||||
go initDNSServer()
|
go initDNSServer()
|
||||||
initRestfulServer()
|
initRestfulServer()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue