Help us shape the future of Go! Take the 2026 Go Developer Survey

notificationTypeConfig

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "NotificationTypeConfig"

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationTypeConfig

type NotificationTypeConfig struct {
	metadata.MetadataInfo
	XMLName                  xml.Name `xml:"NotificationTypeConfig"`
	Xmlns                    string   `xml:"xmlns,attr"`
	NotificationTypeSettings []struct {
		AppSettings []struct {
			ConnectedAppName struct {
				Text string `xml:",chardata"`
			} `xml:"connectedAppName"`
			Enabled struct {
				Text string `xml:",chardata"`
			} `xml:"enabled"`
		} `xml:"appSettings"`
		NotificationChannels struct {
			DesktopEnabled struct {
				Text string `xml:",chardata"`
			} `xml:"desktopEnabled"`
			MobileEnabled struct {
				Text string `xml:",chardata"`
			} `xml:"mobileEnabled"`
		} `xml:"notificationChannels"`
		NotificationType struct {
			Text string `xml:",chardata"`
		} `xml:"notificationType"`
	} `xml:"notificationTypeSettings"`
}

func Open

func Open(path string) (*NotificationTypeConfig, error)

func (*NotificationTypeConfig) SetMetadata

func (c *NotificationTypeConfig) SetMetadata(m metadata.MetadataInfo)

func (*NotificationTypeConfig) Type

Jump to

Keyboard shortcuts

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