Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileReader ¶
type FileReader struct {
Options *FileReaderOptions
}
FileReader is a reader that expects a file with targets that is newline delimited.
func NewFileReader ¶
func NewFileReader(opts *FileReaderOptions) *FileReader
NewFileReader prepares a new file reader
func (*FileReader) ReadEmails ¶
func (fr *FileReader) ReadEmails(users *[]string) error
Read from a file that contains targets. FilePath can be "-" indicating that we should read from stdin.
func (*FileReader) ReadPasswords ¶
func (fr *FileReader) ReadPasswords(passwords *[]string) error
Read from a file that contains targets. FilePath can be "-" indicating that we should read from stdin.
type FileReaderOptions ¶
FileReaderOptions are options for the file reader
Click to show internal directories.
Click to hide internal directories.