started statistics

This commit is contained in:
Radu Ioan Fericean
2013-12-17 16:42:16 +02:00
parent dbe8bde7bf
commit 3e4067b4b0
5 changed files with 29 additions and 3 deletions

View File

@@ -21,8 +21,9 @@ package engine
import (
"errors"
"fmt"
"github.com/cgrates/cgrates/utils"
"log"
"github.com/cgrates/cgrates/utils"
)
type DbReader struct {
@@ -54,6 +55,9 @@ func NewDbReader(storDB LoadStorage, storage DataStorage, tpid string) *DbReader
return c
}
func (dbr *DbReader) ShowStatistics() {
}
func (dbr *DbReader) WriteToDatabase(flush, verbose bool) (err error) {
storage := dbr.dataDb
if flush {