nats

package
v0.0.0-...-024c779 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package nats provides a NATS broker From https://github.com/micro/go-micro/blob/master/broker/nats/nats.go

Package nats provides a NATS broker From https://github.com/micro/go-micro/blob/master/broker/nats/options.go

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 NewBroker

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

NewBroker return new nats 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