Documentation
¶
Index ¶
- Constants
- func LoadTemplates(fsys fs.FS, templates map[string]Template) (map[string]Template, error)
- func Use(opts ...UseOption) runtime.Capability
- type Attachment
- type AttachmentOpenError
- type AttachmentSource
- type AttachmentSourceFunc
- type Config
- type ConfigLoader
- type DirectMessage
- type Manager
- type Message
- type Middleware
- type ProviderConfig
- type ProviderResolver
- type ProviderResolverFunc
- type SendResult
- type Template
- type TemplateMessage
- type TemplateRenderer
- type UseOption
- func WithConfig(cfg Config) UseOption
- func WithConfigLoader(loader ConfigLoader) UseOption
- func WithDependencies(deps ...runtime.Dependency) UseOption
- func WithExternal() UseOption
- func WithInternal() UseOption
- func WithManager(manager *Manager) UseOption
- func WithMiddleware(middleware ...Middleware) UseOption
- func WithOptional() UseOption
Constants ¶
View Source
const Name = string(coreemail.KeyEmail)
Variables ¶
This section is empty.
Functions ¶
func LoadTemplates ¶ added in v0.1.4
func Use ¶
func Use(opts ...UseOption) runtime.Capability
Types ¶
type Attachment ¶ added in v0.1.16
type Attachment = coreemail.Attachment
type AttachmentOpenError ¶ added in v0.1.16
type AttachmentOpenError = coreemail.AttachmentOpenError
type AttachmentSource ¶ added in v0.1.16
type AttachmentSource = coreemail.AttachmentSource
type AttachmentSourceFunc ¶ added in v0.1.16
type AttachmentSourceFunc = coreemail.AttachmentSourceFunc
type DirectMessage ¶ added in v0.1.4
type DirectMessage = coreemail.DirectMessage
type Manager ¶
func FromDefault ¶
type Middleware ¶
type Middleware = coreemail.Middleware
type ProviderConfig ¶
type ProviderConfig = coreemail.ProviderConfig
type ProviderResolver ¶ added in v0.1.16
type ProviderResolver = coreemail.ProviderResolver
type ProviderResolverFunc ¶ added in v0.1.16
type ProviderResolverFunc = coreemail.ProviderResolverFunc
type SendResult ¶
type SendResult = coreemail.SendResult
type TemplateMessage ¶ added in v0.1.4
type TemplateMessage = coreemail.TemplateMessage
type TemplateRenderer ¶ added in v0.1.4
type TemplateRenderer = coreemail.TemplateRenderer
type UseOption ¶
type UseOption func(*useOptions)
func WithConfig ¶
func WithConfigLoader ¶
func WithConfigLoader(loader ConfigLoader) UseOption
func WithDependencies ¶
func WithDependencies(deps ...runtime.Dependency) UseOption
func WithExternal ¶ added in v0.1.4
func WithExternal() UseOption
func WithInternal ¶
func WithInternal() UseOption
func WithManager ¶
func WithMiddleware ¶
func WithMiddleware(middleware ...Middleware) UseOption
func WithOptional ¶
func WithOptional() UseOption
Click to show internal directories.
Click to hide internal directories.