Documentation
¶
Index ¶
Constants ¶
View Source
const ( VerifySuccess = iota + 1 VerifyFail VerifyExpired )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VerifyCode ¶
type VerifyCode struct {
// contains filtered or unexported fields
}
func NewVerifyCode ¶
func NewVerifyCode(codeNum int, expire int64) *VerifyCode
func (*VerifyCode) GenValidateCode ¶
func (v *VerifyCode) GenValidateCode() string
func (*VerifyCode) SendCode ¶
func (v *VerifyCode) SendCode(from string, to []string, subject string, sender mail.MailSender) uint64
Click to show internal directories.
Click to hide internal directories.