Documentation
¶
Index ¶
Constants ¶
View Source
const ConnectTimeoutSeconds = 5
ConnectTimeoutSeconds is the timeout for database connections (in seconds) Used for backup, restore, and connection testing
Variables ¶
This section is empty.
Functions ¶
func CompressionFromFilename ¶
CompressionFromFilename detects compression type from file extension
func CompressionLabel ¶
CompressionLabel returns a human-readable label for the compression type
func TestConnection ¶
TestConnection tests database connectivity with a timeout. Supports mysql and postgres database types.
Types ¶
Click to show internal directories.
Click to hide internal directories.