INNER CODE UNIT · Go

triggerCopyover

GoMudEngine/GoMud · copyover.go:12

func triggerCopyover() error {
	binaryPath, err := os.Executable()
	if err != nil {
		return err
	}

	serverAlive.Store(false)

	rooms.SaveAllRooms()
	users.SaveAllUsers()
	plugins.Save()

	return copyover.Execute(binaryPath, os.Args[1:])
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…