Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidLimit means this type of recursive selector limit is not supported by default // -- to prevent DDOS attacks ErrInvalidLimit = errors.New("unsupported recursive selector limit") )
Functions ¶
func ValidateSelector ¶
func ValidateSelector(bridge ipldbridge.IPLDBridge, node ipld.Node, maxAcceptedDepth int) error
ValidateSelector applies the default selector validation policy to a selector on an incoming request -- which by default is to limit recursive selectors to a fixed depth
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.