Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBroker ¶
func NewBroker(opts ...Option) broker.BrokerProvider
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
func (*Broker) Init ¶
func (b *Broker) Init(opts *broker.InitOptions)
type Option ¶
type Option func(*Options)
func SubscriptionPrefix ¶
SubscriptionPrefix configures a prefix for all subs.
func TopicPrefix ¶
TopicPrefix configures a prefix for all topics in subscribers and publishers.
func WithCredentialsJSON ¶
Click to show internal directories.
Click to hide internal directories.