mirror of
https://github.com/projectdiscovery/httpx.git
synced 2024-10-26 18:08:27 +03:00
minor signature change
This commit is contained in:
parent
3fe1cc2268
commit
a90e5a140c
@ -34,6 +34,9 @@ const (
|
||||
|
||||
var defaultProviders = strings.Join(cdncheck.GetDefaultProviders(), ", ")
|
||||
|
||||
// OnResultCallback (hostResult)
|
||||
type OnResultCallback func(Result)
|
||||
|
||||
type scanOptions struct {
|
||||
Methods []string
|
||||
StoreResponseDirectory string
|
||||
@ -244,7 +247,7 @@ type Options struct {
|
||||
OutputMatchResponseTime string
|
||||
OutputFilterResponseTime string
|
||||
HealthCheck bool
|
||||
OnResult func(result Result)
|
||||
OnResult OnResultCallback
|
||||
}
|
||||
|
||||
// ParseOptions parses the command line options for application
|
||||
|
Loading…
Reference in New Issue
Block a user