package
Version:
v2.6.1
Opens a new window with list of versions in this module.
Published: May 3, 2022
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
Nats provides nats publish and subscribe
NewNats creates a new Nats connection for a project
Publish implements Publish
func (n *Nats) Shutdown()
Shutdown shuts down all subscribers gracefully
func (n *Nats) Subscribe(opts pubsub.HandlerOptions, h pubsub.MsgHandler)
Subscribe implements Subscribe for Nats
Source Files
¶
Click to show internal directories.
Click to hide internal directories.