Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PubSubParams ¶
type PubSubParams struct { // Subject is the NATS subject to publish to. It is also used as the subscription subject if SubscriptionSubject is empty. Subject string // SubscriptionSubject is the NATS subject to subscribe to. If empty, Subject is used. // This is useful when the subscription subject is different from the publishing subject, e.g. when using wildcards. SubscriptionSubject string // Conn is the NATS connection to use for publishing and subscribing. Conn *nats.Conn }
Click to show internal directories.
Click to hide internal directories.