mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 00:45:28 +00:00
10 lines
270 B
Go
10 lines
270 B
Go
package protocols
|
|
|
|
// Rule is an interface implemented by a protocol rule
|
|
type Rule interface {
|
|
// Compile compiles the protocol request for further execution.
|
|
Compile() error
|
|
// Requests returns the total number of requests the rule will perform
|
|
Requests() int64
|
|
}
|