Documentation ¶
Index ¶
- Constants
- func NewInventoryCSV(env EnvInterface) (*inventoryCSV, error)
- func NewUploadsProcessor(env EnvInterface, storage StorageInterface, fileName FileNameInterface, ...) (uploadsProcessor, error)
- type DataProcessorInterface
- type Disk
- type EnvInterface
- type FileNameInterface
- type FileNamesSorter
- type StorageInterface
Constants ¶
View Source
const ( ConstErrorModule = "vantagepoint" ConstErrorLevel = env.ConstErrorLevelActor )
Variables ¶
This section is empty.
Functions ¶
func NewInventoryCSV ¶
func NewInventoryCSV(env EnvInterface) (*inventoryCSV, error)
func NewUploadsProcessor ¶
func NewUploadsProcessor(env EnvInterface, storage StorageInterface, fileName FileNameInterface, dataProcessor DataProcessorInterface) (uploadsProcessor, error)
Types ¶
type DataProcessorInterface ¶
type Disk ¶
type Disk struct {
// contains filtered or unexported fields
}
func NewDiskStorage ¶
func NewDiskStorage(path string, env EnvInterface) (*Disk, error)
func (*Disk) GetReadCloser ¶
func (it *Disk) GetReadCloser(fileName string) (io.ReadCloser, error)
type EnvInterface ¶
type FileNameInterface ¶
type FileNamesSorter ¶
type FileNamesSorter struct { Items []string FileName FileNameInterface Err error }
func (*FileNamesSorter) Len ¶
func (fn *FileNamesSorter) Len() int
func (*FileNamesSorter) Less ¶
func (fn *FileNamesSorter) Less(i, j int) bool
func (*FileNamesSorter) Swap ¶
func (fn *FileNamesSorter) Swap(i, j int)
type StorageInterface ¶
Click to show internal directories.
Click to hide internal directories.