Documentation ¶
Index ¶
- func NewCredentialsFromStruct(credentials *SESServiceConfiguration) *credentialsFromStruct
- type SESService
- func (service *SESService) ApplyConfiguration(configuration interface{}) error
- func (service *SESService) LoadConfiguration() (interface{}, error)
- func (service *SESService) Restart() error
- func (service *SESService) RunWithSES(handler func(client *ses.SES) error) error
- func (service *SESService) Start() error
- func (service *SESService) Stop() error
- type SESServiceConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCredentialsFromStruct ¶
func NewCredentialsFromStruct(credentials *SESServiceConfiguration) *credentialsFromStruct
Types ¶
type SESService ¶
type SESService struct { Configuration SESServiceConfiguration // contains filtered or unexported fields }
SESService is the service which manages a service queue on the AWS.
func (*SESService) ApplyConfiguration ¶
func (service *SESService) ApplyConfiguration(configuration interface{}) error
ApplyConfiguration applies a given configuration to the service.
func (*SESService) LoadConfiguration ¶
func (service *SESService) LoadConfiguration() (interface{}, error)
LoadConfiguration returns a not implemented error.
This happens because this method should be implemented on the struct that will use this implementation.
func (*SESService) Restart ¶
func (service *SESService) Restart() error
Restart stops and then starts the service again.
func (*SESService) RunWithSES ¶
func (service *SESService) RunWithSES(handler func(client *ses.SES) error) error
RunWithSQS runs a handler passing the reference of a `sqs.SQS` client.
func (*SESService) Start ¶
func (service *SESService) Start() error
Start initializes the aws client with the configuration.
func (*SESService) Stop ¶
func (service *SESService) Stop() error
Stop erases the aws client reference.
Click to show internal directories.
Click to hide internal directories.