Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomString ¶
GenerateRandomString generates a random alphanumerical string with a requested length
Types ¶
type WriteRequest ¶
type WriteRequest struct {
Line string
}
WriteRequest contains type that the writer uses
type Writer ¶
type Writer struct { File *os.File Directory string Flag int Permissions os.FileMode WriteQueue chan string DoneChan chan bool Logger *log.Logger }
Writer describes a writer
func (*Writer) Open ¶
Open creates a new file with unique name in the dir path for writing the output
Click to show internal directories.
Click to hide internal directories.