Categorygithub.com/rai-project/database
modulepackage
0.0.0-20190724014027-b95d2bc2071b
Repository: https://github.com/rai-project/database.git
Documentation: pkg.go.dev

# README

database

Database abstraction used by RAI and CarML

# Packages

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

# Functions

ConnectionTimeout ...
Endpoints ...
MaxConnections ...
NewDatabasePool takes several implementations of the Database and returns an instance of the Database that uses sync.Pool of given implemetations.
NewDatabaseWithRetry returns DatabaseWithRetry.
NewDatabaseWithTracing returns DatabaseWithTracing.
NewTablePool takes several implementations of the Table and returns an instance of the Table that uses sync.Pool of given implemetations.
NewTableWithRetry returns TableWithRetry.
Password ...
TLSCertificate ...
TLSConfig ...
Username ...
UsernamePassword ...

# Variables

DefaultMaxConnections ...
DefaultMaxConnections ...

# Structs

DatabasePool implements Database that uses pool of Database.
DatabaseWithRetry implements Database interface instrumented with retries.
DatabaseWithTracing implements Database interface instrumented with opentracing spans.
Options ...
TablePool implements Table that uses pool of Table.
TableWithRetry implements Table interface instrumented with retries.

# Interfaces

Database ...
Table ...

# Type aliases

Option ...