Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer synchronises all output. Results go to stdout (and optionally a file); everything else (progress, verbose, errors) goes to stderr.
func New ¶
New returns a Writer. If outWriter is non-nil, resolved domains are also written there. Set simulate to true to tag result lines as simulated.
func (*Writer) Progress ¶
Progress writes a progress line to stderr using carriage-return overwrite.
func (*Writer) ProgressDone ¶
func (w *Writer) ProgressDone()
ProgressDone writes the final newline on stderr after progress reporting ends.
Click to show internal directories.
Click to hide internal directories.