Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VerifyCodeInterface ¶
type VerifyCodeInterface interface {
SendSmsVerifyCode(ctx context.Context, phoneNumber, code, codeHash string) (string, error)
VerifySmsCode(ctx context.Context, codeHash, code, extraData string) error
}
func NewVerifyCode ¶
func NewVerifyCode(c *conf.SmsVerifyCodeConfig) VerifyCodeInterface
Click to show internal directories.
Click to hide internal directories.