diff --git a/.gitignore b/.gitignore index 6c39028..a38fc3e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,4 @@ *.DS_Store .idea/ test/ -output/ diff --git a/pkg/output/output.go b/pkg/output/output.go new file mode 100644 index 0000000..1b85c94 --- /dev/null +++ b/pkg/output/output.go @@ -0,0 +1,18 @@ +package output + +type ResultEvent struct { + // Host is the host input on which match was found. + Host string `json:"host,omitempty"` + // Port is port of the host input on which match was found (if applicable). + Port int `json:"port,omitempty"` + // Scheme is the scheme of the host input on which match was found (if applicable). + Scheme string `json:"scheme,omitempty"` + // URL is the Base URL of the host input on which match was found (if applicable). + URL string `json:"url,omitempty"` + //Response is the response of the input. + Response string `json:"response,omitempty"` + // Error is the error that occurred while processing the input. + Error string `json:"error,omitempty"` + // Filename is the filename of the input. + Filename string `json:"filename,omitempty"` +}