Versions in this module Expand all Collapse all v0 v0.4.0 Mar 19, 2026 Changes in this version + func Check(policy string, hostRules []HostRules, host string, port int, ...) bool + func EvaluateRules(rules []Rule, method, path string) string + func MatchPath(pattern, reqPath string) bool + type HostMatcher func(pattern, host string, port int) bool + type HostRules struct + Host string + Rules []Rule + type NetworkRuleEntry struct + func (e *NetworkRuleEntry) UnmarshalYAML(value *yaml.Node) error + type Rule struct + Action string + Method string + PathPattern string + func ParseRule(s string) (Rule, error)