nats

package
v0.0.0-...-3153823 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package nats 封装异步通信 TODO 保证可靠性 nats-stream

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNats

func NewNats(addr []string, logger logger.Logger, opts ...natsio.Option) (broker.Broker, error)

NewNats .. addrs 指向多个地址,如果为空,则使用默认地址

Types

This section is empty.

Jump to

Keyboard shortcuts

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