Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CSVToString ¶
func CSVToStringHeader ¶
func HTMLToString ¶
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 (o *OutputWriter) AddWriters(writers ...io.Writer)
func (*OutputWriter) Close ¶ added in v1.4.2
func (o *OutputWriter) Close()
Close closes the output writers
func (*OutputWriter) Write ¶
func (o *OutputWriter) Write(data []byte)
Write writes the data taken as input using only the writer(s) with that name.
func (*OutputWriter) WriteJsonData ¶ added in v1.4.2
func (o *OutputWriter) WriteJsonData(data sources.Result)
WriteJsonData writes the result taken as input in JSON format
func (*OutputWriter) WriteString ¶ added in v1.4.2
func (o *OutputWriter) WriteString(data string)
WriteString writes the string taken as input using only
Click to show internal directories.
Click to hide internal directories.