notifications

package
v0.0.0-...-aac1211 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_POPUP_MESSAGE_TIME = 7

Variables

View Source
var PopUp = NewNotificator()

Functions

This section is empty.

Types

type Notificator

type Notificator interface {
	WriteError(string)
	WriteWarning(string)
	WriteDebug(string)
	WriteInfo(string)
	WriteInfoWithPopUpTime(string, int)

	Read() []NotificatorEntity

	Filter(func(*NotificatorEntity) bool)
}

func NewNotificator

func NewNotificator() Notificator

type NotificatorEntity

type NotificatorEntity struct {
	Timestamp int64
	Message   string
}

Jump to

Keyboard shortcuts

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