notify

package module
v0.0.0-...-55860fd Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: Apache-2.0 Imports: 0 Imported by: 1

README

Go Report Card Build Status codecov Slack Twitter

go-notify

Send notification via Email, SMS, Chat etc.

This repo has been permanently moved to gomodules.xyz/go-notify

Supported Email Providers
  • Mailgun
  • SMTP
Supported SMS Services
  • Twilio
  • plivo.com
Supported Chat Services
  • Hipchat
  • Slack
  • Telegram
  • Discord
  • Stride
Supported Push Notification Services
  • Pushover.net
Webhook
  • Post via HTTP
Debug
  • Log to StdOut

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByChat

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

type ByEmail

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

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

type BySMS

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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