func main() { assets := NewAssets() server, err := soar.NewServer(":1234", assets) if err != nil { panic(err) } log.Println("Starting Assets Server") server.Serve() }
func main() { render := new(Render) server, err := soar.NewServer(":1233", render) if err != nil { panic(err) } log.Println("Starting Render Server") server.Serve() }