Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryConfig ¶
func QueryConfig(installDir string) (apps.ApplicationConfig, error)
QueryConfig obtains an ApplicationConfig from by querying the MySQL database
Types ¶
type Config ¶
type Config struct { Mail Mail SMTPSettings SMTPSettings }
Config is a structure that contains the Mail/SMTP configuration data of WP
func (Config) GetSMTPSettings ¶
func (c Config) GetSMTPSettings() *apps.SMTPSettings
GetSMTPSettings returns a SMTPSettings from Config structure
func (*Config) ValidateSMTPSettings ¶
ValidateSMTPSettings checks the SMTPSettings are correct
Click to show internal directories.
Click to hide internal directories.