Esempio n. 1
0
func SetAutoRestart(val bool) {
	srv.GetState().OSet("auto_restart", val)
	srv.SaveState()
}
Esempio n. 2
0
func GetAutoRestart() bool {
	ar, _ := srv.GetState().Get("auto_restart").Bool()
	return ar
}