Documentation ¶
Index ¶
- func ExportHTMLPage() string
- func ExportItemsToJSON(items []Item) string
- func ExportLoadedResources(items []Item) string
- func GetFileName(url string) string
- func GetHTMLCode(item *Item, url string, directory string, proxy string, cookie string, ...)
- func GetHTMLFileName(url string) string
- func GetScreenshotFileName(url string) string
- func TakeScreenShot(item *Item, directory string, proxy string, cookie string, timeout int)
- type Item
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportHTMLPage ¶
func ExportHTMLPage() string
GetScreenshotHTML Create the HTML page that references all the taken screenshots.
func ExportItemsToJSON ¶
func ExportLoadedResources ¶
func GetFileName ¶
GetHTMLFileName Compute the filename based on the URL.
func GetHTMLCode ¶
func GetHTMLCode(item *Item, url string, directory string, proxy string, cookie string, timeout int)
TakeScreenShot Take screenshot of the pages.
func GetHTMLFileName ¶
GetHTMLFileName Compute the filename based on the URL.
func GetScreenshotFileName ¶
GetScreenshotFileName Compute the filename based on the item.Url.
Types ¶
type Item ¶
type Item struct { Url string FileName string ScreenShotFileName string HTMLFileName string RemoteIP string RemotePort string ResponseStatus string ResponseStatusText string ResponseHeaders []string ResponseProtocol string ResponseSecure bool ResponseIssuer string ResponseCertificateSubject string ResponseCertificateSanList []string Resources []Item }
Click to show internal directories.
Click to hide internal directories.