Documentation
¶
Index ¶
Constants ¶
View Source
const AccountsTableSchema = `` /* 858-byte string literal not displayed */
AccountsTableSchema is the SQL schema for the accounts table
Variables ¶
This section is empty.
Functions ¶
func CreateAccountsTable ¶
CreateAccountsTable creates the accounts table
Types ¶
type Config ¶
type Config struct {
Host string
Port int
User string
Password string
Database string
Charset string
ParseTime bool
Loc string // Location for time.Time
TLS string // TLS configuration: true, false, skip-verify, preferred
Timeout string // Connection timeout
}
Config represents MySQL/MariaDB-specific configuration
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns a Config with sensible defaults
Click to show internal directories.
Click to hide internal directories.