messaging

package module
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 5

README

Solace: solace.dev/go/messaging

Test PkgGoDev Go Report Card

The Solace PubSub+ API for Go is used to access the services of a Solace PubSub+ Event Broker.

Getting Started

To get started using the Solace PubSub+ API for Go, simply include it as a required module in your Go project by running go get solace.dev/go/messaging. The Solace PubSub+ API for Go requires Go version 1.17+.

Usage
OS Support

The Solace PubSub+ API for Go is a wrapper around the high performance Solace C API via Cgo and has support for the following operating systems:

  • Linux (x86/x86_64) variants with Linux 2.6 or later (compatible with glibc (desktop/server) and musl-c (Alpine Linux))
  • Linux (arm64) variants compatible with glibc (desktop/server)
  • Windows WSL 2.0
  • macOS 10.15 and later (x86_64 versions)
  • macOS 11.0 and later (arm64 versions)

Contributing

Ensure that you read CONTRIBUTING for details on the process for submitting pull requests to us.

Authors

See the list of contributors who participated in this project.

License

This project is licensed under the Apache License, Version 2.0. - See the LICENSE file for details.

This project packages and links against a variety of C dependencies, and any usage of this API is subject to the terms and conditions of these dependencies. See the licenses for details.

Code of Conduct

Contributor Covenant Note that this project is released with a Contributor Code of Conduct. By participating in this project, you agree to abide by its terms.

Support

Ask Solace Community

Have a question? Ask the Solace Community!

Ask Solace Support

https://solace.com/support

Resources

Copyright 2021-2024 Solace Corporation. All rights reserved.

Documentation

Overview

Package messaging contains the main entrypoint into the API via messaging.NewMessagingServiceBuilder(), which returns a builder implementation based on the Solace PubSub+ Messaging API for C.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMessagingServiceBuilder

func NewMessagingServiceBuilder() solace.MessagingServiceBuilder

NewMessagingServiceBuilder returns an instance of solace.MessagingServiceBuilder that can be used to build a new solace.MessagingService.

func ReplicationGroupMessageIDOf

func ReplicationGroupMessageIDOf(rmidAsString string) (replicationGroupMessageID rgmid.ReplicationGroupMessageID, err error)

ReplicationGroupMessageIDOf returns an instance of rmid.ReplicationGroupMessageID from the given string that can be compared to a message's ReplicationGroupMessageID or used to start replay. Replication Group Message IDs come in the form rmid1:xxxxx-xxxxxxxxxxx-xxxxxxxx-xxxxxxxx

Types

This section is empty.

Directories

Path Synopsis
internal
ccsmp
Package ccsmp contains all the code required to wrap ccsmp in golang with cgo.
Package ccsmp contains all the code required to wrap ccsmp in golang with cgo.
generator
Package generator is a utility package that is not linked against directly by the API code and is instead used as common functionality for calls to `go generate`
Package generator is a utility package that is not linked against directly by the API code and is instead used as common functionality for calls to `go generate`
impl
Package impl is defined below
Package impl is defined below
impl/constants
Package constants is defined below
Package constants is defined below
impl/core
Package core abstracts out the inner workings of CCSMP and provides a few key entities used by various other services.
Package core abstracts out the inner workings of CCSMP and provides a few key entities used by various other services.
impl/executor
Package executor is defined below
Package executor is defined below
impl/future
Package future is defined below
Package future is defined below
impl/logging
Package logging is defined below
Package logging is defined below
impl/message
Package message is defined below
Package message is defined below
impl/publisher
Package publisher is defined below
Package publisher is defined below
impl/publisher/buffer
Package buffer is defined below
Package buffer is defined below
impl/receiver
Package receiver ise defined below
Package receiver ise defined below
impl/validation
Package validation is defined below
Package validation is defined below
pkg
solace
Package solace contains the main type definitions for the various messaging services.
Package solace contains the main type definitions for the various messaging services.
solace/config
Package config contains the following constructs used for configuration:
Package config contains the following constructs used for configuration:
solace/logging
Package logging allows for configuration of the API's logging levels.
Package logging allows for configuration of the API's logging levels.
solace/message
Package message contains the type definitions of InboundMessage and OutboundMessage.
Package message contains the type definitions of InboundMessage and OutboundMessage.
solace/message/rgmid
Package rgmid contains the ReplicationGroupMessageID interface.
Package rgmid contains the ReplicationGroupMessageID interface.
solace/message/sdt
Package sdt contains the types needed to work with Structured Data on a message.
Package sdt contains the types needed to work with Structured Data on a message.
solace/metrics
Package metrics contains the various metrics that can be retrieved as well as the interface for retrieving the metrics.
Package metrics contains the various metrics that can be retrieved as well as the interface for retrieving the metrics.
solace/resource
Package resource contains types and factory functions for various broker resources such as topics and queues.
Package resource contains types and factory functions for various broker resources such as topics and queues.
solace/subcode
Package subcode contains the subcodes returned from the Solace PubSub+ Messaging API for C. The subcodes are generated in subcode_generated.go.
Package subcode contains the subcodes returned from the Solace PubSub+ Messaging API for C. The subcodes are generated in subcode_generated.go.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL