package
Version:
v3.6.0+incompatible
Opens a new window with list of versions in this module.
Published: Mar 18, 2020
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.