Versions in this module Expand all Collapse all v1 v1.0.0 May 11, 2024 Changes in this version + const PlatformAliyun + type Aliyun struct + func MustNewAliyun(c Config, opts ...notifytypes.Option) *Aliyun + func NewAliyun(c Config, opts ...notifytypes.Option) (*Aliyun, error) + func (a *Aliyun) LoadEmailExtraMap(eem map[string]EmailExtra) + func (a *Aliyun) Platform() string + func (a *Aliyun) SendEmail(receiver, templateID string, params ...notifytypes.Param) error + func (a *Aliyun) SendSms(receiver, templateID string, params ...notifytypes.Param) error + type App struct + AccessKeyID string + AccessKeySecret string + AccountName string + RegionID string + SignName string + type Config struct + Email *App + Sms *App + type EmailExtra struct + Subject string + TextBody string