Documentation
¶
Index ¶
- func ImageEncode(w io.Writer, m image.Image, im_type int) error
- func NewHTMLMessage(from, to, subject, htmlBody string) *gomail.Message
- func NewMessage(from, to, subject string, body string) *gomail.Message
- func NewUniqueID() string
- func NewValidator() *validator.Validate
- func RenderTemplate(templatePath string, data interface{}) (string, error)
- func Resize(width uint, height uint, img image.Image) image.Image
- func SendEmail(host string, port int, username, password string, msg *gomail.Message) error
- type SecretSauce
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTMLMessage ¶
func NewUniqueID ¶
func NewUniqueID() string
func NewValidator ¶
func RenderTemplate ¶
Types ¶
type SecretSauce ¶
type SecretSauce struct {
}
func NewSecretSauce ¶
func NewSecretSauce() *SecretSauce
func (*SecretSauce) SauceReferee ¶
func (ss *SecretSauce) SauceReferee(sauce []byte, ingredient string) error
Click to show internal directories.
Click to hide internal directories.