common

package
v0.0.0-...-8336b8e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendCode

func SendCode(email string, ctx context.Context, rd *redis.Client) error

Types

type SendCodeFlow

type SendCodeFlow struct {

	// request data
	Email string
	// contains filtered or unexported fields
}

func NewSendCodeFlow

func NewSendCodeFlow(email string, ctx context.Context, rd *redis.Client) *SendCodeFlow

func (*SendCodeFlow) Do

func (f *SendCodeFlow) Do() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL