Go API

The Solace PubSub+ Messaging API for Go (version 1.6) can be used in cloud-based and enterprise-scale server applications. You can use the PubSub+ Go API with any version of Go that is in support (see Google, Supported Go Versions). The Go, Python, Node.js, and JavaScript Messaging APIs share the same asynchronous and non-blocking programming model, but are packaged differently and optimized for their respective target environments.

Message Exchange Patterns

The PubSub+ Messaging API for Go supports the following message exchange patterns:

  • Publish / Subscribe

For more information, see Message Exchange Patterns.

Features

For the list of features that are supported for the PubSub+ Messaging API for Go, see the Go column in the table in Feature Support in PubSub+ Messaging APIs.

Get Started

These tutorials help you to quickly get up to speed developing applications using the Solace PubSub+ Messaging API for Go.

Before you can start working with the API, you must have access to a PubSub+ event broker. For more information about PubSub+ event brokers, see Getting Started with PubSub+ Event Brokers.

Start Tutorials

Getting Started with PubSub+ Event Brokers

To test and use your Go client application, you require a PubSub+ event broker or event broker services.

There are three ways you can get started using a PubSub+ event broker:

  1. If you have PubSub+ event brokers already deployed, obtain the hostname or IP address of an event broker to test against, a username and password to access it, and a Message VPN in which you can produce and consume messages.
  2. You can set up a software event broker as a container or machine image. For more information, see one of the following:
  3. You can spin up an event broker service, which is a SaaS-based software event broker running in PubSub+ Cloud.

Go Developer's Guide

We have a developer's guide to describe how to start using the PubSub+ Messaging API for Go.

Go API Developer Guide

Go API Reference

Click below to access the reference for the Solace PubSub+ Messaging API for Go.

Go Reference

Go API Release Notes

Click below to download the latest release notes for the Solace PubSub+ Messaging API for Go.

Go API Release Notes