Documentation ¶
Index ¶
- type Config
- func (c *Config) GetAPIPort() int
- func (c *Config) GetDatabaseDriver() string
- func (c *Config) GetDatabaseName() string
- func (c *Config) GetEnvironment() string
- func (c *Config) GetMailerPassword() string
- func (c *Config) GetMailerUser() string
- func (c *Config) GetMysqlDsn() string
- func (c *Config) GetRecaptchaSecretKey() string
- func (c *Config) GetRecaptchaSiteKey() string
- func (c *Config) GetRootPath() string
- func (c *Config) Init()
- type IConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Environment string RootPath string DebugMode bool Options []string DatabaseDsn string DatabaseName string APIPort int DatabaseDriver string MailerUser string MailerPassword string RecaptchaSiteKey string RecaptchaSecretKey string }
Config Config
func (*Config) GetDatabaseDriver ¶
GetDatabaseDriver GetDatabaseDriver
func (*Config) GetDatabaseName ¶
GetDatabaseName GetDatabaseName
func (*Config) GetEnvironment ¶
GetEnvironment GetEnvironment
func (*Config) GetMailerPassword ¶
GetMailerPassword GetMailerPassword
func (*Config) GetRecaptchaSecretKey ¶
GetRecaptchaSecretKey GetRecaptchaSecretKey
func (*Config) GetRecaptchaSiteKey ¶
GetRecaptchaSiteKey GetRecaptchaSiteKey
type IConfig ¶
type IConfig interface { Init() GetRootPath() string GetEnvironment() string GetMysqlDsn() string GetAPIPort() int GetDatabaseName() string GetDatabaseDriver() string GetMailerUser() string GetMailerPassword() string GetRecaptchaSiteKey() string GetRecaptchaSecretKey() string }
IConfig IConfig
Click to show internal directories.
Click to hide internal directories.