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

Index

Package Files

nats.go options.go

Variables

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 5 packages. Updated 2018-11-15. Refresh now. Tools for package owners.