Documentation ¶
Index ¶
- type MailUsecase
- func (s *MailUsecase) DeleteMails(characterId int, mailIds *[]int) (deletedIds *[]int, err error)
- func (s *MailUsecase) RetrieveMails(characterId, start int, unreadOnly bool) (mails *[]model.ReceivedMail, isContinue bool, err error)
- func (s *MailUsecase) RetrieveSentMails(characterId, start int) (mails *[]model.SentMail, isContinue bool, err error)
- func (s *MailUsecase) SendAdministratorMail(targetId *int, name string, title string, message string) error
- func (s *MailUsecase) SendMail(characterId int, targetId int, title string, message string) error
- func (s *MailUsecase) SetMailRead(characterId int, mailId int) (existsUnreadMail bool, err error)
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 (*MailUsecase) SendAdministratorMail ¶
func (*MailUsecase) SetMailRead ¶
func (s *MailUsecase) SetMailRead(characterId int, mailId int) (existsUnreadMail bool, err error)
Click to show internal directories.
Click to hide internal directories.