Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VerifyCode ¶
type VerifyCode struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context) *VerifyCode
func (VerifyCode) Consume ¶
func (c VerifyCode) Consume(topic string, email string)
Consume @description: 消费(删除)验证码
func (VerifyCode) Create ¶
func (c VerifyCode) Create(length int) string
Create @description: create verify code
Click to show internal directories.
Click to hide internal directories.