Documentation ¶
Index ¶
- type EmailConfig
- type EmailService
- func (es *EmailService) ConvertMessage(data []byte) (services.ServiceMessage, error)
- func (es *EmailService) ID() string
- func (es *EmailService) Logger() *log.Logger
- func (es *EmailService) NewClient() (services.PumpClient, error)
- func (es *EmailService) PushMessage(pclient services.PumpClient, smsg services.ServiceMessage, ...) (status services.PushStatus)
- func (es *EmailService) SquashAndPushMessage(client services.PumpClient, smsgs []services.ServiceMessage, ...) services.PushStatus
- func (es *EmailService) String() string
- func (es *EmailService) Validate(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailConfig ¶
type EmailService ¶
type EmailService struct {
// contains filtered or unexported fields
}
func NewEmailService ¶
func NewEmailService(config EmailConfig) (es *EmailService, err error)
func (*EmailService) ConvertMessage ¶
func (es *EmailService) ConvertMessage(data []byte) (services.ServiceMessage, error)
func (*EmailService) ID ¶
func (es *EmailService) ID() string
func (*EmailService) Logger ¶
func (es *EmailService) Logger() *log.Logger
func (*EmailService) NewClient ¶
func (es *EmailService) NewClient() (services.PumpClient, error)
func (*EmailService) PushMessage ¶
func (es *EmailService) PushMessage(pclient services.PumpClient, smsg services.ServiceMessage, fc services.FeedbackCollector) (status services.PushStatus)
func (*EmailService) SquashAndPushMessage ¶
func (es *EmailService) SquashAndPushMessage(client services.PumpClient, smsgs []services.ServiceMessage, fc services.FeedbackCollector) services.PushStatus
func (*EmailService) String ¶
func (es *EmailService) String() string
func (*EmailService) Validate ¶
func (es *EmailService) Validate(data []byte) error
Click to show internal directories.
Click to hide internal directories.