Documentation ¶
Index ¶
- Variables
- func NewTranslationService(app *model.App) *translation.Service
- func ProvideDefaultLanguageTag(app *model.App) template.DefaultLanguageTag
- func ProvideResourceManager(app *model.App) *resource.Manager
- func ProvideSupportedLanguageTags(app *model.App) template.SupportedLanguageTags
- type Logger
- type MailSender
- type NoopStaticAssetResolver
- type SendTestEmailOptions
- type Service
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewTranslationService ¶
func NewTranslationService(app *model.App) *translation.Service
func ProvideDefaultLanguageTag ¶
func ProvideDefaultLanguageTag(app *model.App) template.DefaultLanguageTag
func ProvideSupportedLanguageTags ¶
func ProvideSupportedLanguageTags(app *model.App) template.SupportedLanguageTags
Types ¶
type MailSender ¶
type MailSender interface {
Send(opts mail.SendOptions) error
}
type NoopStaticAssetResolver ¶
type NoopStaticAssetResolver struct{}
func ProvideStaticAssetResolver ¶
func ProvideStaticAssetResolver() *NoopStaticAssetResolver
func (*NoopStaticAssetResolver) StaticAssetURL ¶
type SendTestEmailOptions ¶
type Service ¶
type Service struct { Logger Logger DevMode config.DevMode MailSender MailSender }
func (*Service) SendRealEmail ¶
func (*Service) SendTestEmail ¶
Click to show internal directories.
Click to hide internal directories.