Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuleStatus ¶
type RuleStatus int
var ( RuleStatusIgnore RuleStatus = -1 RuleStatusDeny RuleStatus = 0 RuleStatusAllow RuleStatus = 1 )
func StringToRuleStatus ¶
func StringToRuleStatus(val string) RuleStatus
func (RuleStatus) IsAllow ¶
func (s RuleStatus) IsAllow() bool
func (RuleStatus) IsDeny ¶
func (s RuleStatus) IsDeny() bool
func (RuleStatus) IsIgnore ¶
func (s RuleStatus) IsIgnore() bool
func (RuleStatus) String ¶
func (s RuleStatus) String() (ret string)
Click to show internal directories.
Click to hide internal directories.