nats

package module
Version: v0.0.0-...-4fe21aa Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2020 License: Apache-2.0 Imports: 9 Imported by: 40

Documentation

Overview

Package nats provides a NATS broker

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrainConnection

func DrainConnection() broker.Option

DrainConnection will drain subscription on close

func DrainSubscription

func DrainSubscription() broker.SubscribeOption

DrainSubscription will drain pending messages when unsubscribe

func NewBroker

func NewBroker(opts ...broker.Option) broker.Broker

func Options

func Options(opts nats.Options) broker.Option

Options accepts nats.Options

Types

This section is empty.

Jump to

Keyboard shortcuts

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