示例#1
0
func main() {
	go Run()
	spawn.Run()
	thrustWindow := thrust.NewWindow("http://localhost:8080", nil)
	thrustWindow.Show()
	thrustWindow.Maximize()
	thrustWindow.Focus()
	dispatcher.RunLoop()
}
示例#2
0
/*
Start spawns the thrust core executable, and begins the dispatcher loop in a go routine
*/
func Start() {
	spawn.Run()
	go dispatcher.RunLoop()
}