package
Version:
v4.2.0-static+incompat...
Opens a new window with list of versions in this module.
Published: Jan 10, 2018
License: 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.