package
Version:
v0.0.0-...-6aa7f09
Opens a new window with list of versions in this module.
Published: Dec 16, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
System initializes notification system in gorge.
Context notification context.
FromContext returns a notify context from the given gorge context
Error sends a error notification.
Errorf sames as error but accepts a fmt format string
Info sends a info notification.
Infof sames as info but accepts a fmt format string
Warn sends a warn notification.
Warnf sames as warn but accepts a fmt format string
EventNotify the notification event to be triggered in gorge.
Severity will affect the color of the notification.
const (
SeverityInfo Severity = iota
SeverityWarn
SeverityError
)
Severity levels
Source Files
¶
Click to show internal directories.
Click to hide internal directories.