service

package
v0.0.0-...-a783adc Latest Latest
Warning

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

Go to latest
Published: Dec 17, 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 IMessageService

type IMessageService interface {
	SendEmailWithEmail(ctx context.Context, msgTplName, email, contentType string) error
	SendEmailToWebmaster(ctx context.Context, msgTplName, contentType string) error
}

type MessageService

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

func NewMessageService

func NewMessageService(configServ configServ.IConfigService, emailServ emailServ.IEmailService, msgTplService service.IMsgTplService) *MessageService

func (*MessageService) SendEmailToWebmaster

func (s *MessageService) SendEmailToWebmaster(ctx context.Context, msgTplName, contentType string) error

func (*MessageService) SendEmailWithEmail

func (s *MessageService) SendEmailWithEmail(ctx context.Context, msgTplName string, email, contentType string) error

Jump to

Keyboard shortcuts

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