Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewSMSProvider), )
Functions ¶
This section is empty.
Types ¶
type SMSProvider ¶
type SMSProvider interface {
SendVerificationCode(to string) (string, error)
VerifyCode(verificationId string, code string) (bool, error)
}
func NewSMSProvider ¶
func NewSMSProvider(env lib.Env) SMSProvider
Click to show internal directories.
Click to hide internal directories.