Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrJSDenied = errors.New("denied by JS filter")
Functions ¶
This section is empty.
Types ¶
type AlwaysAllow ¶
type AlwaysAllow struct{}
type DstAddrFilter ¶
type DstAddrFilter struct {
// contains filtered or unexported fields
}
func NewDstAddrFilter ¶
func NewDstAddrFilter(prefixes []netip.Prefix, next Filter) DstAddrFilter
type ErrDestinationAddressNotAllowed ¶
type ErrDestinationAddressNotAllowed struct {
// contains filtered or unexported fields
}
func (ErrDestinationAddressNotAllowed) Error ¶
func (e ErrDestinationAddressNotAllowed) Error() string
type JSFilter ¶ added in v1.17.0
type JSFilter struct {
// contains filtered or unexported fields
}
JSFilter is not suitable for concurrent use! Wrap it with filter pool for that!
func NewJSFilter ¶ added in v1.17.0
type JSFilterFunc ¶ added in v1.17.0
Click to show internal directories.
Click to hide internal directories.