Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseService ¶ added in v1.0.5
type BaseService interface {
// note: 生成验证码
CaptchaGenerate(ctx context.Context, params *rexTypes.ApiCaptchaGenerateReq) (code int32, result *rexTypes.ApiCaptchaGenerateResp, err error)
SmsSend(ctx context.Context, params *rexTypes.ApiSmsSendReq) (code int32, result *rexTypes.ApiSmsSendResp, err error)
BehavioralVerificationInit(ctx context.Context, params *rexTypes.BehavioralVerificationInitReq) (code int32, result *rexTypes.BehavioralVerificationInitResp, err error)
BehavioralVerificationVerify(ctx context.Context, params *rexTypes.BehavioralVerificationVerifyReq) (code int32, result *rexTypes.BehavioralVerificationVerifyResp, err error)
SmsVerificationInit(ctx context.Context, params *rexTypes.SmsInitReq) (code int32, result *rexTypes.SmsInitResp, err error)
SmsVerificationVerify(ctx context.Context, params *rexTypes.SmsVerifyReq) (code int32, result *rexTypes.SmsVerifyResp, err error)
}
func NewBaseService ¶ added in v1.0.5
func NewBaseService(SdkCtx *sdkCtx.SdkCtx) BaseService
type MasService ¶
type MasService struct {
BaseService
}
func NewMasService ¶
func NewMasService(SdkCtx *sdkCtx.SdkCtx) MasService
Click to show internal directories.
Click to hide internal directories.