sdk_aliyun

package
v0.0.0-...-4cd9d19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnInit

func OnInit(s core.IService, opts ...Option) (err error)

func SendEMAILCaptcha

func SendEMAILCaptcha(email, captcha string) error

func SendModuleCaptcha

func SendModuleCaptcha(module, captcha string) error

Types

type CaptchaService

type CaptchaService interface {
	SendCaptcha(target, captcha string) error //发送验证码
}

type Option

type Option func(*Options)

func SetAliyun

func SetAliyun(v CaptchaService) Option

func SetEmail

func SetEmail(v CaptchaService) Option

type Options

type Options struct {
	Aliyun CaptchaService
	Email  CaptchaService
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL