Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileReader ¶
type FileReaderService ¶
type FileReaderService struct {
// contains filtered or unexported fields
}
func NewFileReaderService ¶
func (*FileReaderService) ReadAll ¶
func (r *FileReaderService) ReadAll(file *os.File) *model.Chunk
ReadAll - reads a whole file in a single chunk.
func (*FileReaderService) ReadByChunks ¶
ReadByChunks - reads a file by separated chunks and passed it into the channel (chunk size is setting up through env. configuration).
Click to show internal directories.
Click to hide internal directories.