Documentation
¶
Index ¶
- type AwsSesClient
- type DataReader
- type Message
- type Service
- func ApplyOptions(upstream Service, opts ...ServiceOption) Service
- func NewAwsSesService(cfg *config.AwsSesServiceConfig, opts ...ServiceOption) (Service, error)
- func NewAwsSesServiceWithClient(client AwsSesClient, opts ...ServiceOption) Service
- func NewPrintService(w io.Writer, opts ...ServiceOption) Service
- type ServiceOption
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsSesClient ¶
type AwsSesClient interface {
// SendEmail API operation for Amazon Simple Email Service.
SendEmail(input *ses.SendEmailInput) (*ses.SendEmailOutput, error)
}
type DataReader ¶
type DataReader struct {
// contains filtered or unexported fields
}
func NewDataReader ¶
func NewDataReader(dir string, defaultFileName string, dataFileName string) (*DataReader, error)
func (*DataReader) Close ¶
func (r *DataReader) Close() error
type Service ¶
func ApplyOptions ¶
func ApplyOptions(upstream Service, opts ...ServiceOption) Service
func NewAwsSesService ¶
func NewAwsSesService(cfg *config.AwsSesServiceConfig, opts ...ServiceOption) (Service, error)
func NewAwsSesServiceWithClient ¶
func NewAwsSesServiceWithClient(client AwsSesClient, opts ...ServiceOption) Service
func NewPrintService ¶
func NewPrintService(w io.Writer, opts ...ServiceOption) Service
type ServiceOption ¶
func WithRateLimit ¶
func WithRateLimit(frequency int) ServiceOption
func WithRetries ¶
func WithRetries(retryCount int) ServiceOption
Click to show internal directories.
Click to hide internal directories.