Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PlatformSubmail 赛邮云通知平台
PlatformSubmail = "submail"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { AppID string // 应用ID AppKey string // 应用Key SignType string `json:",default=sha1,options=[normal,sha1,md5]"` // 签名类型(枚举 normal、sha1 和 md5) }
App 应用配置
type Submail ¶
type Submail struct {
// contains filtered or unexported fields
}
Submail 赛邮云通知服务
func MustNewSubmail ¶
func MustNewSubmail(c Config, opts ...notifytypes.Option) *Submail
MustNewSubmail 新建赛邮云通知服务
func NewSubmail ¶
func NewSubmail(c Config, opts ...notifytypes.Option) (*Submail, error)
NewSubmail 新建赛邮云通知服务
Click to show internal directories.
Click to hide internal directories.