mail

package
v0.0.0-...-31a4683 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MailUsecase

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

func NewMailUsecase

func NewMailUsecase(registry registry.Registry) *MailUsecase

func (*MailUsecase) DeleteMails

func (s *MailUsecase) DeleteMails(characterId int, mailIds *[]int) (deletedIds *[]int, err error)

func (*MailUsecase) RetrieveMails

func (s *MailUsecase) RetrieveMails(characterId, start int, unreadOnly bool) (mails *[]model.ReceivedMail, isContinue bool, err error)

func (*MailUsecase) RetrieveSentMails

func (s *MailUsecase) RetrieveSentMails(characterId, start int) (mails *[]model.SentMail, isContinue bool, err error)

func (*MailUsecase) SendAdministratorMail

func (s *MailUsecase) SendAdministratorMail(targetId *int, name string, title string, message string) error

func (*MailUsecase) SendMail

func (s *MailUsecase) SendMail(characterId int, targetId int, title string, message string) error

func (*MailUsecase) SetMailRead

func (s *MailUsecase) SetMailRead(characterId int, mailId int) (existsUnreadMail bool, err error)

Jump to

Keyboard shortcuts

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