logic

package
v0.0.0-...-fcc236b Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FinanceLogic

type FinanceLogic struct {
	CustomersLoads map[string][]inputLoad
	TreatedLoadIds map[customerLoadID]interface{}
}

FinanceLogic LoadParser implementation for holding history maps

func NewFinanceLogic

func NewFinanceLogic() *FinanceLogic

NewFinanceLogic creates a LoadParser implementation

func (*FinanceLogic) ParseLoads

func (logic *FinanceLogic) ParseLoads(parsingChannel chan string) ([]string, []error)

ParseLoads parse the loads given in a channel

type LoadParser

type LoadParser interface {
	ParseLoads(parsingChannel chan string) ([]string, []error)
}

LoadParser interface for defining how to parse loads

Jump to

Keyboard shortcuts

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