Documentation ¶
Index ¶
- func CSVToString(data interface{}) ([]byte, error)
- func CSVToStringHeader(data interface{}) ([]byte, error)
- func HTMLToString(data interface{}) ([]byte, error)
- func NewOutputWriters(output string, outType int) (io.Writer, error)
- func OutputToString(out *result.Result, nocolor bool) string
- type CSVWriter
- type HTMLWriter
- type OutputWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CSVToString ¶
func CSVToStringHeader ¶
func HTMLToString ¶
func NewOutputWriters ¶ added in v1.4.5
Types ¶
type CSVWriter ¶
type CSVWriter struct {
// contains filtered or unexported fields
}
func NewCSVWriter ¶
type HTMLWriter ¶
type HTMLWriter struct {
// contains filtered or unexported fields
}
func NewHTMLWriter ¶
func NewHTMLWriter(path string) (*HTMLWriter, error)
func (*HTMLWriter) Close ¶
func (h *HTMLWriter) Close() error
type OutputWriter ¶
func NewOutputWriter ¶
func NewOutputWriter() (*OutputWriter, error)
func (*OutputWriter) AddWriters ¶ added in v1.4.2
func (w *OutputWriter) AddWriters(writers ...io.Writer)
func (*OutputWriter) Close ¶ added in v1.4.2
func (w *OutputWriter) Close()
Close closes the output writers
func (*OutputWriter) Output ¶ added in v1.4.5
func (w *OutputWriter) Output(outputResult chan *result.Result, outType int, noColor bool)
func (*OutputWriter) Write ¶
func (w *OutputWriter) Write(data []byte)
Write writes the data taken as input using only the writer(s) with that name.
func (*OutputWriter) WriteString ¶ added in v1.4.2
func (w *OutputWriter) WriteString(data string)
WriteString writes the string taken as input using only
Click to show internal directories.
Click to hide internal directories.