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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (Handler) SendCode

func (h Handler) SendCode(ctx *gin.Context)

type HandlerService

type HandlerService interface {
	SendCode(ctx *gin.Context)
}

func NewHandlerService

func NewHandlerService(rd *redis.Client) HandlerService

type SendCodeRequest

type SendCodeRequest struct {
	Email string `json:"email" binding:"email,required"`
}

Jump to

Keyboard shortcuts

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