Versions in this module Expand all Collapse all v1 v1.3.0 Apr 17, 2024 Changes in this version + func OnInit(config map[string]interface{}, option ...Option) (err error) + func SendCaptcha(_email string, _captcha string) error + type ISMS interface + SendCaptcha func(mobile string, captcha string) error + func NewSys(option ...Option) (sys ISMS, err error) + type Option func(*Options) + func KeySecret(v string) Option + func SetSignName(v string) Option + func Setkey(v string) Option + type Options struct + KeySecret string + SignName string + type SMS struct + func (this *SMS) SendCaptcha(mobile string, captcha string) error