Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppriseWriteScript ¶
Types ¶
type Shoutrrr ¶
type Shoutrrr struct {
// contains filtered or unexported fields
}
func NewShoutrrr ¶
func NewShoutrrr(router *router.ServiceRouter) Shoutrrr
type Telegram ¶
type Telegram struct {
// contains filtered or unexported fields
}
func NewTelegram ¶
type Transformer ¶
type Transformer interface {
Title(ctx context.Context, env models.Envelope) (string, error)
Body(ctx context.Context, env models.Envelope) (string, error)
Files(ctx context.Context, env models.Envelope) ([]models.Attachment, error)
Reader(ctx context.Context, att models.Attachment) (io.ReadCloser, error)
Path(ctx context.Context, att models.Attachment) (string, error)
}
Click to show internal directories.
Click to hide internal directories.