Documentation
¶
Index ¶
- func NewRuleWrapper(rule C.Rule) C.RuleWrapper
- type RuleWrapper
- func (r *RuleWrapper) Hit()
- func (r *RuleWrapper) HitAt() time.Time
- func (r *RuleWrapper) HitCount() uint64
- func (r *RuleWrapper) IsDisabled() bool
- func (r *RuleWrapper) Match(metadata *C.Metadata, helper C.RuleMatchHelper) (bool, string)
- func (r *RuleWrapper) Miss()
- func (r *RuleWrapper) MissAt() time.Time
- func (r *RuleWrapper) MissCount() uint64
- func (r *RuleWrapper) SetDisabled(v bool)
- func (r *RuleWrapper) Unwrap() C.Rule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRuleWrapper ¶
func NewRuleWrapper(rule C.Rule) C.RuleWrapper
Types ¶
type RuleWrapper ¶
func (*RuleWrapper) Hit ¶
func (r *RuleWrapper) Hit()
func (*RuleWrapper) HitAt ¶
func (r *RuleWrapper) HitAt() time.Time
func (*RuleWrapper) HitCount ¶
func (r *RuleWrapper) HitCount() uint64
func (*RuleWrapper) IsDisabled ¶
func (r *RuleWrapper) IsDisabled() bool
func (*RuleWrapper) Match ¶
func (r *RuleWrapper) Match(metadata *C.Metadata, helper C.RuleMatchHelper) (bool, string)
func (*RuleWrapper) Miss ¶
func (r *RuleWrapper) Miss()
func (*RuleWrapper) MissAt ¶
func (r *RuleWrapper) MissAt() time.Time
func (*RuleWrapper) MissCount ¶
func (r *RuleWrapper) MissCount() uint64
func (*RuleWrapper) SetDisabled ¶
func (r *RuleWrapper) SetDisabled(v bool)
func (*RuleWrapper) Unwrap ¶
func (r *RuleWrapper) Unwrap() C.Rule
Click to show internal directories.
Click to hide internal directories.