package
Version:
v0.6.0-beta.r6-hotfix.2
Opens a new window with list of versions in this module.
Published: Mar 8, 2019
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.