Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SysDatabase string = "postgres"
)
Functions ¶
func DatabaseSize ¶
func DatabaseSize(conf ConnectionConfig) (int64, error)
func ExcludedTables ¶
func ExcludedTables(conf ConnectionConfig) ([]string, error)
Types ¶
type ConnectionConfig ¶
type ConnectionConfig struct { User string Password string Host string Port string Database SSlMode bool }
func (ConnectionConfig) CreateConnection ¶
func (conf ConnectionConfig) CreateConnection() (*sql.DB, error)
func (ConnectionConfig) String ¶
func (c ConnectionConfig) String() string
Click to show internal directories.
Click to hide internal directories.