Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommunicationDal ¶
type CommunicationDal interface { GetMemberByEmail(memberEmail string) (models.Member, error) GetCommunication(communication string) (models.Communication, error) LogCommunication(communicationId int, memberId string) error GetMostRecentCommunicationToMember(memberId string, commId int) (time.Time, error) }
type CommunicationTemplate ¶
type CommunicationTemplate string
const ( AccessRevokedMember CommunicationTemplate = "AccessRevokedMember" AccessRevokedLeadership CommunicationTemplate = "AccessRevokedLeadership" IpChanged CommunicationTemplate = "IpChanged" PendingRevokationLeadership CommunicationTemplate = "PendingRevokationLeadership" PendingRevokationMember CommunicationTemplate = "PendingRevokationMember" Welcome CommunicationTemplate = "Welcome" )
func (CommunicationTemplate) String ¶
func (c CommunicationTemplate) String() string
String converts CommunicationTemplate to a string
type Provider ¶
Provider has config information for connecting to mailgun
func (Provider) SendHtmlMail ¶
func (Provider) SendPlainTextMail ¶
Click to show internal directories.
Click to hide internal directories.