notification

package
v0.0.0-...-55c43cf Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 2 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type INotificator

type INotificator interface {
	HasNotifications() bool
	AddNotification(Notification)
	Notifications() string
}

type Notification

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

func NewNotification

func NewNotification(context, message string) *Notification

type Notificator

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

func NewNotificator

func NewNotificator() *Notificator

func (*Notificator) AddNotification

func (n *Notificator) AddNotification(notification Notification)

func (*Notificator) HasNotifications

func (n *Notificator) HasNotifications() bool

func (*Notificator) Notifications

func (n *Notificator) Notifications() string

Jump to

Keyboard shortcuts

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