notification

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Title    string // required
	Message  string // message of notification
	Type     string // to manage notification on phone (vibrating, ignore, sound)
	Action   string // url which will be opened when user clicks on notification
	ImageURL string // image like in youtube videos

}

Config is the struct for a notification config

func (*Config) Send

func (n *Config) Send() ferror.FError

Send sends a notification

Jump to

Keyboard shortcuts

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