pushover

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

Package pushover provides pushover notification support.

Index

Constants

View Source
const ProviderType = "pushover"

ProviderType defines the type of the Pushover notification provider.

Variables

This section is empty.

Functions

func MergeOptions

func MergeOptions(ctx context.Context, src Options, dst *Options, isUpdate bool) error

MergeOptions updates the destination options with the source options.

Types

type Options

type Options struct {
	AppToken string `json:"appToken"`
	UserKey  string `json:"userKey"`
	Format   string `json:"format"` // format of the message, must be "html" or "md"

	Endpoint string `json:"endpoint,omitempty"` // override the default endpoint for testing
}

Options defines Pushover notification sender options.

func (*Options) ApplyDefaultsAndValidate

func (o *Options) ApplyDefaultsAndValidate(_ context.Context) error

ApplyDefaultsAndValidate applies default values and validates the configuration.

Jump to

Keyboard shortcuts

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