sender

package
v0.0.0-...-04312dd Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

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

func (*Email) SendMessage

func (e *Email) SendMessage(ctx context.Context, vo *InfoVo) error

type ISender

type ISender interface {
	SendMessage(ctx context.Context, vo *InfoVo) error
}

func GetSender

func GetSender(sType senderType) ISender

type InfoVo

type InfoVo struct {
	Type     senderType `json:"type"`
	Receiver string     `json:"receiver"`
	Info     string     `json:"info"`
	UseTo    useTo      `json:"use_to"`
}

func NewResetPasswordInfo

func NewResetPasswordInfo(receiver string, infoStr string) *InfoVo

func (*InfoVo) String

func (v *InfoVo) String() string

Jump to

Keyboard shortcuts

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