Documentation ¶
Overview ¶
Package natsx implements connections to NATS and NATS Streaming (STAN).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NATSConn ¶
type NATSConn struct { *nats.Conn // contains filtered or unexported fields }
NATSConn adds connection monitoring to nats.Conn.
func ConnectNATS ¶
ConnectNATS adds ctx support and reasonable defaults to nats.Connect.
type STANConn ¶
type STANConn struct { stan.Conn // contains filtered or unexported fields }
STANConn adds connection monitoring to stan.Conn.
func ConnectSTAN ¶
ConnectSTAN adds ctx support and reasonable defaults to stan.Connect.
Click to show internal directories.
Click to hide internal directories.