notifications

package
v0.0.0-...-670d40f Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotifyEventSubscribers

func NotifyEventSubscribers(db *clover.DB, message string, subscribers []string)

what am I even doing here?

func NotifyNearby

func NotifyNearby(db *clover.DB, message string, geom mapobject.Geometry) error

func SendNotificationToAccounts

func SendNotificationToAccounts(conn *clover.DB, message string, recipients []string)

func SendNotificationToPhoneNumber

func SendNotificationToPhoneNumber(message string, recipient string)

func SendNotificationToPhoneNumbersList

func SendNotificationToPhoneNumbersList(message string, recipients []string)

Types

type Notification

type Notification struct {
	APIUsername string `json:"api_username"`
	APIPassword string `json:"api_password"`
	Message     string `json:"message"`
	Dst         string `json:"dst"`
	Did         string `json:"did"`
}

Jump to

Keyboard shortcuts

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