package
Version:
v0.0.0-...-f3c8ca0
Opens a new window with list of versions in this module.
Published: Jun 6, 2023
License: GPL-3.0, GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package filter implements event filters.
type Filter interface {
Compare(Filter) bool
Trigger(data interface{})
}
type FilterEvent struct {
}
type Generic struct {
Str1, Str2, Str3 string
Data map[string]struct{}
Fn func(data interface{})
}
self = registered, f = incoming
func (self Generic) Trigger(data interface{})
Source Files
¶
Click to show internal directories.
Click to hide internal directories.