Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
type T struct {
// AllowedUrl defines the list of URL patterns that are explicitly
// permitted by the policy regardless BlockedUrl setting.
AllowedUrl []string
// BlockedURL define the URLs patterns that are explicitly disallowed by the policy.
// Empty value is treated the same as a []string{"*"} (all URLs are blocked
// unless explicitly allowed).
BlockedUrl []string
// AllowedCIDR defines CIDR blocks explicitly allowed by the policy,
// overriding any entries in BlockedCIDR.
AllowedCIDR []string
// BlockedCIDR defines a list of CIDR blocks that are explicitly disallowed
// by the policy for incoming requests.
BlockedCIDR []string
}
Click to show internal directories.
Click to hide internal directories.