Documentation ¶
Index ¶
Constants ¶
View Source
const ( Simple = Type("simple") Regexp = Type("regexp") Complex = Type("complex") // for future use List = Type("list") )
View Source
const ( OpTrue = Operand("true") OpProcessPath = Operand("process.path") OpProcessCmd = Operand("process.command") OpProcessEnvPrefix = Operand("process.env.") OpProcessEnvPrefixLen = 12 OpUserId = Operand("user.id") OpDstIP = Operand("dest.ip") OpDstHost = Operand("dest.host") OpDstPort = Operand("dest.port") OpList = Operand("list") )
View Source
const ( Allow = Action("allow") Deny = Action("deny") )
View Source
const ( Once = Duration("once") Restart = Duration("until restart") Always = Duration("always") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
func (*Loader) FindFirstMatch ¶
func (l *Loader) FindFirstMatch(con *conman.Connection) (match *Rule)
type Operator ¶
Click to show internal directories.
Click to hide internal directories.