Hello all.  How do I need to start my server written in Go and used in the 
iOS app?
I tried as in many tutorials, just

*ServerStartArg("8090", documentDirectory[0])*

This starts the server, but the application freezes.

Next, tried  to do this in background thread

*DispatchQueue.global(qos: .background).async {*

*          ServerStartArg("8090", documentDirectory[0])*

*}*

The server starts and the application works. But there is a problem. When 
application un tray (not opened, but also not closed) server don't respond

And here's is a question: How to start a server without these two problems?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/b088716a-1648-4ae9-bbd8-5442f1764c2an%40googlegroups.com.

Reply via email to