types

package
v0.0.0-...-0dcb6dd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 1 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL