The highest tagged major version is
v5.
package
Version:
v3.2.0+incompatible
Opens a new window with list of versions in this module.
Published: Oct 16, 2019
License: GPL-3.0, LGPL-3.0, LGPL-3.0-or-later
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.