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 ¶
type FilterManager struct {
// contains filtered or unexported fields
}
func NewFilterManager ¶
func NewFilterManager(mux *event.TypeMux) *FilterManager
func (*FilterManager) GetFilter ¶
func (self *FilterManager) GetFilter(id int) *core.Filter
GetFilter retrieves a filter installed using InstallFilter. The filter may not be modified.
func (*FilterManager) InstallFilter ¶
func (self *FilterManager) InstallFilter(filter *core.Filter) (id int)
func (*FilterManager) Start ¶
func (self *FilterManager) Start()
func (*FilterManager) Stop ¶
func (self *FilterManager) Stop()
func (*FilterManager) UninstallFilter ¶
func (self *FilterManager) UninstallFilter(id int)
Click to show internal directories.
Click to hide internal directories.