Documentation ¶
Index ¶
- func NewConsumer(bufferSize CacheSize, delegate keys.ConsumerPersist) (keys.ConsumerCached, error)
- func NewEmailNotifier(serviceName string, serviceEmailAddress ServiceEmailAddress, ...) notification.EmailNotifier
- func NewHTML(rootDir TemplateRootDir) fw.Template
- func NewSendGrid(apiKey SendGridAPIKey) mdemail.SendGrid
- type CacheSize
- type SendGridAPIKey
- type ServiceEmailAddress
- type TemplateRootDir
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsumer ¶
func NewConsumer(bufferSize CacheSize, delegate keys.ConsumerPersist) (keys.ConsumerCached, error)
NewConsumer creates a buffered cached keys Consumer
func NewEmailNotifier ¶
func NewEmailNotifier( serviceName string, serviceEmailAddress ServiceEmailAddress, emailSender fw.EmailSender, ) notification.EmailNotifier
func NewHTML ¶
func NewHTML(rootDir TemplateRootDir) fw.Template
func NewSendGrid ¶
func NewSendGrid(apiKey SendGridAPIKey) mdemail.SendGrid
Types ¶
type CacheSize ¶
type CacheSize int
CacheSize specifies the size of the local cache for fetched keys
type SendGridAPIKey ¶
type SendGridAPIKey string
type ServiceEmailAddress ¶
type ServiceEmailAddress string
type TemplateRootDir ¶
type TemplateRootDir string
Click to show internal directories.
Click to hide internal directories.