Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*Postgres)
func WithConnAttempts ¶
WithConnAttempts sets the number of connection attempts.
func WithConnTimeout ¶
WithConnTimeout sets the connection timeout.
func WithMaxPoolSize ¶
WithMaxPoolSize sets the maximum number of connections in the pool.
Click to show internal directories.
Click to hide internal directories.