go-micro: github.com/micro/go-micro/broker/nats Index | Files

package nats

import "github.com/micro/go-micro/broker/nats"

Package nats provides a NATS broker


Package Files

context.go nats.go options.go

func DrainConnection Uses

func DrainConnection() broker.Option

DrainConnection will drain subscription on close

func LocalServer Uses

func LocalServer() broker.Option

LocalServer embeds a local server rather than connecting to one

func NewBroker Uses

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

func Options Uses

func Options(opts nats.Options) broker.Option

Options accepts nats.Options

Package nats imports 15 packages (graph) and is imported by 5 packages. Updated 2020-02-16. Refresh now. Tools for package owners.