dddd/lib/httpx/runner/banner.go
SleepingBag945 01e7d0b159 dddd
2023-08-18 08:55:46 +02:00

21 lines
424 B
Go
Executable File

package runner
import (
updateutils "github.com/projectdiscovery/utils/update"
)
// Version is the current version of httpx
const version = `v1.3.1`
// showBanner is used to show the banner to the user
func showBanner() {
}
// GetUpdateCallback returns a callback function that updates httpx
func GetUpdateCallback() func() {
return func() {
showBanner()
updateutils.GetUpdateToolCallback("httpx", version)()
}
}