notify: gomodules.xyz/notify Index | Files | Directories

package notify

import "gomodules.xyz/notify"

Index

Package Files

doc.go types.go

type ByChat Uses

type ByChat interface {
    UID() string
    WithBody(body string) ByChat
    To(to string, cc ...string) ByChat
    Send() error
}

type ByEmail Uses

type ByEmail interface {
    UID() string
    From(from string) ByEmail
    WithSubject(subject string) ByEmail
    WithBody(body string) ByEmail
    WithTag(tag string) ByEmail
    WithNoTracking() ByEmail
    To(to string, cc ...string) ByEmail
    Send() error
    SendHtml() error
}

type ByPush Uses

type ByPush interface {
    UID() string
    WithBody(body string) ByPush
    To(to ...string) ByPush
    Send() error
}

type BySMS Uses

type BySMS interface {
    UID() string
    From(from string) BySMS
    WithBody(body string) BySMS
    To(to string, cc ...string) BySMS
    Send() error
}

Directories

PathSynopsis
discord
errors
errors/chat
errors/log
errors/mail
errors/sms
log
mailgun
mattermost
plivo
pushover
slack
smtp
telegram
twilio
unified
webhook

Package notify is imported by 28 packages. Updated 2019-08-11. Refresh now. Tools for package owners.