notification

package
v0.0.0-...-e1a9bdf Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBusMessage

type DBusMessage struct {
	Name    string
	ID      uint32
	Icon    string
	Summary string
	Body    string
	Actions []string
	Hints   map[string]dbus.Variant
	Expire  int32
}

https://developer.gnome.org/notification-spec/

type Message

type Message struct {
	TimeStamp time.Time
	Domain    string
	Title     string
	Header    string
	Body      string
}

func From

func From(m *dbus.Message) *Message

func FromText

func FromText(title, body string) *Message

func (*Message) String

func (m *Message) String() string

Jump to

Keyboard shortcuts

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