Documentation
¶
Overview ¶
Package service defines application resources and configuration.
Index ¶
Constants ¶
View Source
const Name = "form2mail"
Name is the name of this application or service.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
brick.BaseConfig
SMTP email.SMTPConfig
Recaptcha recaptcha.Config
StaticDir string `split_words:"true"`
}
Config defines application configuration.
type EmailSenderProvider ¶
type Locator ¶
type Locator struct {
*brick.BaseLocator
Config Config
RecaptchaCheckerProvider
EmailSenderProvider
}
Locator defines application resources.
func (*Locator) ServiceConfig ¶
ServiceConfig returns service configuration.
Click to show internal directories.
Click to hide internal directories.