notificationHandler

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: Apache-2.0 Imports: 8 Imported by: 1

README

notificationHandler

notificationHandler provides push notification delivery via the Pushover API.

Functions

Function Description
Send(inMessage, inTitle string, key int) error Sends a Pushover notification with the given title and message, with an optional callback URL

Configuration (user key, API token) is read from commonConfig.

Example

import "github.com/mt1976/frantic-core/notificationHandler"

func main() {
    err := notificationHandler.Send("Deployment complete", "App Notification", 0)
    if err != nil {
        log.Fatal(err)
    }
}

Documentation

Overview

Package notificationHandler exposes notification utilities for system and user alerts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(inMessage, inTitle string, key int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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