notification

package
v0.0.0-...-a129c9c Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notification

type Notification struct {
	ChLogMessageReads  chan types.ReadLogMessage
	ChLogMessageWrites chan types.WriteLogMessage
	// contains filtered or unexported fields
}

func New

func New(cfg config.Config) *Notification

func (*Notification) Log

func (ds *Notification) Log(level string, a ...interface{})

func (*Notification) RunReadLogMessages

func (ds *Notification) RunReadLogMessages()

func (*Notification) RunStateLogMessages

func (ds *Notification) RunStateLogMessages()

func (*Notification) SendFlashMessage

func (ds *Notification) SendFlashMessage(msgJSON types.JSONMessageBody)

func (*Notification) SendTextMessage

func (ds *Notification) SendTextMessage(msg string)

Jump to

Keyboard shortcuts

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