package
1.12.2
Repository: https://github.com/tarantool/go-tarantool.git
Documentation: pkg.go.dev

# Functions

ConnectWithOpts creates pool for instances with addresses addrs.
ConnectWithOpts creates pool for instances with addresses addrs with options opts.
NewConnectorAdapter creates a new ConnectorAdapter object for a pool and with a mode.
No description provided by the author

# Constants

The request can be executed on any instance (master or replica).
The instance is read-write mode.
If there is one, otherwise fallback to a read only one (replica).
If there is one, otherwise fallback to a writeable one (master).
The instance is in read-only mode.
The request can only be executed on replica.
The request can only be executed on master.
A connection pool failed to discover mode of the instance.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ConnectionInfo structure for information about connection statuses: - ConnectedNow reports if connection is established at the moment.
Main features: - Return available connection from pool according to round-robin strategy.
ConnectorAdapter allows to use Pooler as Connector.
OptsPool provides additional options (configurable via ConnectWithOpts).
No description provided by the author

# Interfaces

ConnectionHandler provides callbacks for components interested in handling changes of connections in a ConnectionPool.
Pooler is the interface that must be implemented by a connection pool.

# Type aliases

Default mode for each request table: Request Default mode ---------- -------------- | call | no default | | eval | no default | | execute | no default | | ping | no default | | insert | RW | | delete | RW | | replace | RW | | update | RW | | upsert | RW | | select | ANY | | get | ANY | */.
Role describes a role of an instance by its mode.