Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Attachment ¶
type MailContent ¶
type MailContent struct { Content string Attachments []*Attachment }
type MailHandler ¶
type MailHandler interface {
Handle(ctx context.Context, content *MailContent, doer *user_model.User, payload []byte) error
}
type ReplyHandler ¶
type ReplyHandler struct{}
ReplyHandler handles incoming emails to create a reply from them
func (*ReplyHandler) Handle ¶
func (h *ReplyHandler) Handle(ctx context.Context, content *MailContent, doer *user_model.User, payload []byte) error
type UnsubscribeHandler ¶
type UnsubscribeHandler struct{}
UnsubscribeHandler handles unwatching issues/pulls
func (*UnsubscribeHandler) Handle ¶
func (h *UnsubscribeHandler) Handle(ctx context.Context, _ *MailContent, doer *user_model.User, payload []byte) error
Click to show internal directories.
Click to hide internal directories.