If the client is notifying the server of changes, then it can just make a HTTP POST to a server endpoint. Your server just needs to implement that endpoint to receive the POST request.
If the server wants to notify the client of changes in real time, there are various approaches: e.g. Websockets, Server-Sent Events, Long Polling. This is generically known as "Server Push" - see this page in Wikipedia <https://en.wikipedia.org/wiki/Push_technology> for more references. -- 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/85e279e0-3a61-4025-b854-3ad31008e04en%40googlegroups.com.