config

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationsConfig

type NotificationsConfig struct {
	Ntfy   NtfyConfig   `yaml:"ntfy" jsonschema:"description=ntfy.sh push notification settings" jsonschema_extras:"x-layer=global,x-priority=70"`
	System SystemConfig `yaml:"system" jsonschema:"description=Native system notification settings" jsonschema_extras:"x-layer=global,x-priority=71"`
}

NotificationsConfig represents the structure of the 'notifications' section in grove.yml

func Load

func Load() *NotificationsConfig

Load reads the merged grove configuration and parses the 'notifications' extension.

type NtfyConfig

type NtfyConfig struct {
	Enabled bool   `` /* 153-byte string literal not displayed */
	Topic   string `` /* 140-byte string literal not displayed */
	URL     string `` /* 144-byte string literal not displayed */
}

NtfyConfig holds settings for ntfy.sh notifications.

type SystemConfig

type SystemConfig struct {
	// Levels specifies which notification levels should trigger a system notification.
	// e.g., ["error", "warning"]
	Levels []string `` /* 141-byte string literal not displayed */
}

SystemConfig holds settings for native system notifications.

Jump to

Keyboard shortcuts

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