IN THIS ARTICLE
Subscribe to Our Newsletter
Our ever-expanding list of PubNub supported SDKs has its newest member: Go Programming Language. Golang is server side technology that you can use to build server side applications that gives you a great interprocess distributed communication network. Say you’re building a Q based system that needs to be highly reliable across a number of different machines, Golang is the way to go. What is Golang Programming Language and why use it? from PubNub on Vimeo.
Go Programming Language and PubNub
Developers can now use the Golang SDK to set up a programming environment with the PubNub client. Our Google Go SDK allows developers to Send/Receive low latency messages from within Google Go to outside world devices like mobile phones and IoT embedded devices. It’s easy to get started. Simply run
`go get github.com/pubnub/go/messaging` from command line. Some features of the Golang SDK include:
- Supports multiplexing, UUID, SSL, Encryption, Proxy and godoc
- Error callback: all the error messages are routed to this callback channel
- Subscribe with timetoken
- Multiple messages received in a single response from the server will now be split into individual messages
The full Golang SDK GitHub repository can be seen here. Additionally, you can watch our quick HOWTO video below to get you started right away: Using PubNub 3.5 with Google Go from PubNub Video on Vimeo.
Golang In Action
Iron.io uses Go Programming Language for their queue system, that allowed them to build a reliable and distributed queue infrastructure. Iron.io found that using Golang made their infrastructure not only faster, but also more concurrent. You can read more about Iron.io’s success with Golang in their blog post: “How We Went From 3o Servers to 2: Go”