notifications

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

func ErrorNotify

func ErrorNotify(log logger.Logger, msg string) error

func PushNotification

func PushNotification(s string) error

func SetNotificationsClient

func SetNotificationsClient(ns NotificationsClient) error

Types

type NotificationsClient

type NotificationsClient interface {
	SendMsg(msg string) (string, error)
}

func CreateFixedClient

func CreateFixedClient(client twilio.Client, from, to string) (NotificationsClient, error)

Jump to

Keyboard shortcuts

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