Documentation ¶
Overview ¶
Package fall handles the fallthrough logic used in plugins that support it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Root = func() F { return F{[]string{"."}} }()
Root returns F set to only ".".
View Source
var Zero = func() F { return F{[]string{}} }()
Zero returns a zero valued F.
Functions ¶
This section is empty.
Types ¶
type F ¶
type F struct {
Zones []string
}
F can be nil to allow for no fallthrough, empty allow all zones to fallthrough or contain a zone list that is checked.
func (*F) SetZonesFromArgs ¶
SetZonesFromArgs sets zones in f to the passed value or to "." if the slice is empty.
Click to show internal directories.
Click to hide internal directories.