nats

package module
v0.0.0-...-1fdb7e3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package nats implements nats.io backend adapter.

Both bps.NewPublisher and bps.NewSubscriber support:

client_cert, client_key
  nats client certificate and key file paths.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPublisher

func NewPublisher(natsURL string, opts ...nats.Option) (bps.Publisher, error)

NewPublisher inits nats.io-backed publisher.

func NewSubscriber

func NewSubscriber(natsURL string, opts ...nats.Option) (bps.Subscriber, error)

NewSubscriber inits nats.io-backed subscriber.

Types

This section is empty.

Jump to

Keyboard shortcuts

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