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)
Click to show internal directories.
Click to hide internal directories.