Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppFilter = iota UserFilter TransportFilter )
Variables ¶
View Source
var Filters []*Filter
View Source
var ScriptFiles embed.FS
Functions ¶
func InitFilter ¶
func InitFilter()
Types ¶
type Filter ¶
type Filter struct { gorm.Model `json:"-"` Name string Content string Type FilterType Enabled bool // contains filtered or unexported fields }
func FindFilter ¶
func (*Filter) ProcessMessage ¶
func (*Filter) SetupEvalFilter ¶
type FilterType ¶
type FilterType int
func (FilterType) String ¶
func (ft FilterType) String() string
Click to show internal directories.
Click to hide internal directories.