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

package nats

import "github.com/micro/go-plugins/transport/nats"

Package nats provides a NATS transport


Package Files

nats.go options.go


var (
    DefaultTimeout = time.Minute

func NewTransport Uses

func NewTransport(opts ...transport.Option) transport.Transport

func Options Uses

func Options(nopts nats.Options) transport.Option

Options allow to inject a nats.Options struct for configuring the nats connection

Package nats imports 11 packages (graph) and is imported by 8 packages. Updated 2020-11-27. Refresh now. Tools for package owners.