Documentation
¶
Overview ¶
Package reader provides a reader implementation for the application, use to load data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
FileSystem is a storage that save/loads data to/from a file.
func NewFileSystem ¶
func NewFileSystem(file string, logger ctxd.Logger) *FileSystem
NewFileSystem creates a new file storage.
func (*FileSystem) ReadGeolocationData ¶
func (f *FileSystem) ReadGeolocationData(ctx context.Context) (<-chan []string, error)
ReadGeolocationData reads geolocation data from a file.
Click to show internal directories.
Click to hide internal directories.