Back to godoc.org
gomodules.xyz/notify

package notify

v0.1.1
Latest Go to latest
Published: Feb 18, 2020 | License: Apache-2.0 | Module: gomodules.xyz/notify

Index

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
}
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier