nats

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNotifier

func NewNotifier(nc *natsgo.Conn, subject string) (notifier.Notifier, error)

NewNotifier creates a new NATS notifier. The subject is the NATS subject to publish events to. The `*nats.Conn` object is passed directly so the caller can configure the connection as they see fit. e.g. to use TLS, JWT tokens, set a custom timeout, etc.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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