Creating client connections NewDefaultConnection
(t tLogger)
| 89 | |
| 90 | // NewDefaultConnection |
| 91 | func NewDefaultConnection(t tLogger) *nats.Conn { |
| 92 | return NewConnection(t, nats.DefaultPort) |
| 93 | } |
| 94 | |
| 95 | // NewConnection forms connection on a given port. |
| 96 | func NewConnection(t tLogger, port int) *nats.Conn { |
no test coverage detected