tmpl

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT, Unlicense Imports: 2 Imported by: 0

Documentation

Overview

Package tmpl wraps several templates that are used to generate notifications.

The primary template describes the XML structure that the Windows Runtime expects to consume. The powershell template describes a script that we can use to execute the notification if the Windows Runtime is unavailable.

For more information about the xml schema: https://learn.microsoft.com/en-us/uwp/schemas/tiles/toastschema/schema-root

Index

Constants

This section is empty.

Variables

View Source
var ScriptTemplate = template.Must(template.New("script").Parse(powershell))

ScriptTemplate describes the Powershell script that will invoke a toast notification given some XML.

View Source
var XMLTemplate = template.Must(template.New("toast-xml").Parse(xml))

XMLTemplate describes the XML content that the Windows Runtime uses to build toast notifications.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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