email

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Copyright 2019-2020 Axetroy. All rights reserved. MIT license.

Index

Constants

This section is empty.

Variables

View Source
var SendResetPasswordEmailRouter = router.Handler(func(c router.Context) {
	var (
		input SendResetPasswordEmailParams
	)

	c.ResponseFunc(c.ShouldBindJSON(&input), func() schema.Response {
		return SendResetPasswordEmail(input)
	})
})

Functions

func SendResetPasswordEmail

func SendResetPasswordEmail(input SendResetPasswordEmailParams) (res schema.Response)

Types

type SendResetPasswordEmailParams

type SendResetPasswordEmailParams struct {
	Email string `json:"email" validate:"required,email,max=255" comment:"邮箱"` // 要发送的邮箱地址
}

Jump to

Keyboard shortcuts

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