MCPcopy
hub / github.com/projectdiscovery/katana / Writer

Interface Writer

pkg/output/output.go:37–43  ·  view source on GitHub ↗

Writer is an interface which writes output to somewhere for katana events.

Source from the content-addressed store, hash-verified

35
36// Writer is an interface which writes output to somewhere for katana events.
37type Writer interface {
38 // Close closes the output writer interface
39 Close() error
40 // Write writes the event to file and/or screen.
41 Write(*Result) error
42 WriteErr(*Error) error
43}
44
45// StandardWriter is an standard output writer structure
46type StandardWriter struct {

Callers 10

WriteMethod · 0.65
WriteMethod · 0.65
WriteErrMethod · 0.65
appendToFileFieldFunction · 0.65
updateIndexFunction · 0.65
CrawlMethod · 0.65
HashMethod · 0.65
HashMethod · 0.65
DoMethod · 0.65
DoMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected