notify

package module
v0.0.0-...-b3f21c1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SeverityLow = iota
	SeverityNormal
	SeverityUrgent
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Notify

type Notify struct {
	// contains filtered or unexported fields
}

func New

func New(title, message string, severity Severity) *Notify

func (*Notify) Send

func (n *Notify) Send() error

type Severity

type Severity int

func (Severity) String

func (s Severity) String() string

Jump to

Keyboard shortcuts

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