Module cartridge.pool

Connection pool.

Reuse tarantool net.box connections with ease.

Functions

connect (uri[, opts]) Connect a remote or get cached connection.

Local Functions

format_uri (uri) Enrich URI with credentials.


Functions

connect (uri[, opts])
Connect a remote or get cached connection. Connection is established using net.box.connect().

Parameters:

Returns:

    net.box connection

Or

  1. nil
  2. table Error description

Local Functions

format_uri (uri)
Enrich URI with credentials. Suitable to connect other cluster instances.

Parameters:

Returns:

    string username:password@host:port
generated by LDoc 1.4.6 Last updated 2019-08-29 23:56:02