Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wjlin0 committed Jan 27, 2024
1 parent 2c6847f commit d91073b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
*.DS_Store
.idea/
test/
output/

18 changes: 18 additions & 0 deletions pkg/output/output.go
Original file line number Diff line number Diff line change
@@ -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"`
}

0 comments on commit d91073b

Please sign in to comment.