TemplateContext is an interface that allows both campaigns and email requests to have a PhishingTemplateContext generated for them.
| 11 | // TemplateContext is an interface that allows both campaigns and email |
| 12 | // requests to have a PhishingTemplateContext generated for them. |
| 13 | type TemplateContext interface { |
| 14 | getFromAddress() string |
| 15 | getBaseURL() string |
| 16 | } |
| 17 | |
| 18 | // PhishingTemplateContext is the context that is sent to any template, such |
| 19 | // as the email or landing page content. |
no outgoing calls
no test coverage detected