Documentation ¶
Overview ¶
Package friendmail is an extension which provides ability to send email to friend
Index ¶
Constants ¶
View Source
const ( ConstCollectionNameFriendMail = "friend_mail" ConstConfigPathFriendMail = "general.friendmail" ConstConfigPathFriendMailEmailTemplate = "general.friendmail.template" ConstConfigPathFriendMailEmailSubject = "general.friendmail.subject" ConstErrorModule = "friendmail" ConstErrorLevel = env.ConstErrorLevelActor ConstMaxCaptchaItems = 100000 // captcha maximum amount (to prevent memory leaks) ConstCaptchaLifeTime = 300 // seconds generated captcha works (5 min) )
Package global constants
Variables ¶
This section is empty.
Functions ¶
func APIFriendCaptcha ¶
func APIFriendCaptcha(context api.InterfaceApplicationContext) (interface{}, error)
APIFriendCaptcha will generate a captcha for use in a form
func APIFriendEmail ¶
func APIFriendEmail(context api.InterfaceApplicationContext) (interface{}, error)
APIFriendEmail sends an email to a friend
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.