reader

package
v0.0.0-...-525db63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL