package
0.0.0-20210304063537-dd22d64e2b96
Repository: https://github.com/luids-io/api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package notifybuffer provides a simple event.NotifyBuffer implementation.

# Functions

GetDefaultSource returns default notify events source.
New event with default source and now timestamp.
NewThreshold creates a new empty threshold.
Notify notifies using the default buffer instance.
SetBuffer sets the default buffer instance.
SetDefaultInstance changes default instance name.
ToEventLevel returns event level from string, raise if ok and error if bad value.

# Constants

Level possible values.
Level possible values.
Level possible values.
Level possible values.
Level possible values.
Type possible values.
Type possible values.

# Variables

Some standard errors returned by interfaces.
Some standard errors returned by interfaces.
Some standard errors returned by interfaces.
Some standard errors returned by interfaces.
Some standard errors returned by interfaces.
Some standard errors returned by interfaces.

# Structs

Event stores event info.
ProcessInfo stores event processing info.
Source stores event source information.
Threshold is used for define threshold.

# Interfaces

Archiver is the interface for the event archive.
Forwarder is the interface for event forwarding.
Notifier is the interface for event notifiers.
NotifyBuffer is the interface for event buffer implementations.

# Type aliases

Code defines the code of the event.
Level defines the level of event.
Type defines the type of event.