package
0.0.0-20241113140406-5da45229321c
Repository: https://github.com/nats-io/nats-mq.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
Copyright 2012-2019 The NATS Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
# Functions
DecodeBridgeMessage decodes the bytes and returns the decoded version use NewBridgeMessage to create a message with an empty header.
NewBridgeMessage creates an empty message with the provided body, the header is empty.
# Constants
PropertyTypeBool type value for a bool property.
PropertyTypeBytes type value for a []byte property.
PropertyTypeFloat32 type value for a float32 property.
PropertyTypeFloat64 type value for a float64 property.
PropertyTypeInt16 type value for an int16 property.
PropertyTypeInt32 type value for an int32 property.
PropertyTypeInt64 type value for an int64 property.
PropertyTypeInt8 type value for an int8 property.
PropertyTypeNull type value for a null property.
PropertyTypeString type value for a string property.
# Structs
BridgeHeader maps to an MQMD struct in the MQ messages.
BridgeMessage is the NATS-side wrapper for the mq message.
Property wraps a typed property to allow proper round/trip support with MQ in the bridge.
# Type aliases
Properties is a wrapper for a map of named properties.