Documentation ¶
Overview ¶
Package filter implements event filters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilterEvent ¶
type FilterEvent struct {
// contains filtered or unexported fields
}
type FilterManager ¶ added in v0.9.21
type FilterManager struct {
// contains filtered or unexported fields
}
func NewFilterManager ¶ added in v0.9.21
func NewFilterManager(mux *event.TypeMux) *FilterManager
func (*FilterManager) GetFilter ¶ added in v0.9.21
func (self *FilterManager) GetFilter(id int) *core.Filter
GetFilter retrieves a filter installed using InstallFilter. The filter may not be modified.
func (*FilterManager) InstallFilter ¶ added in v0.9.21
func (self *FilterManager) InstallFilter(filter *core.Filter) (id int)
func (*FilterManager) Start ¶ added in v0.9.21
func (self *FilterManager) Start()
func (*FilterManager) Stop ¶ added in v0.9.21
func (self *FilterManager) Stop()
func (*FilterManager) UninstallFilter ¶ added in v0.9.21
func (self *FilterManager) UninstallFilter(id int)
Click to show internal directories.
Click to hide internal directories.