We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 476f2f8 commit 216334bCopy full SHA for 216334b
1 file changed
main.go
@@ -10,6 +10,7 @@ import (
10
"github.com/codeshelldev/wol-dockerized/internals/server"
11
"github.com/codeshelldev/wol-dockerized/internals/wol"
12
)
13
+
14
//s
15
func main() {
16
config.Load()
@@ -35,6 +36,8 @@ func main() {
35
36
}
37
38
go func() {
39
+ wol.Monitor(config.ENV.MONITOR_INTERVAL)
40
41
ticker := time.NewTicker(time.Duration(config.ENV.MONITOR_INTERVAL) * time.Second)
42
defer ticker.Stop()
43
0 commit comments