Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallLogRecordCsv ¶
type CallLogRecordCsv struct { Type string PhoneNumber string PhoneNumberE164 string PhoneNumberIso31661a2 string Name string Date string Time string TimeRfc3339 string Action string ActionResult string ResultDescription string Duration string DurationSeconds int64 }
func (*CallLogRecordCsv) Inflate ¶
func (r *CallLogRecordCsv) Inflate()
func (*CallLogRecordCsv) LoadRow ¶
func (r *CallLogRecordCsv) LoadRow(cols []string, vals []string) error
func (*CallLogRecordCsv) SetCountry ¶
func (r *CallLogRecordCsv) SetCountry()
type CallLogRecordsCsv ¶
type CallLogRecordsCsv struct {
CallLogRecords []CallLogRecordCsv
}
func (*CallLogRecordsCsv) GetStatsForVoiceRecordings ¶
func (rs *CallLogRecordsCsv) GetStatsForVoiceRecordings() CallLogStats
type CallLogRecordsCsvReader ¶
type CallLogRecordsCsvReader struct {
CallLogRecordsCsv CallLogRecordsCsv
}
func NewCallLogRecordsCsvReader ¶
func NewCallLogRecordsCsvReader() CallLogRecordsCsvReader
func (*CallLogRecordsCsvReader) ReadFile ¶
func (rd *CallLogRecordsCsvReader) ReadFile(path string) error
type CallLogStats ¶
type CallLogStats struct { Days float64 NumCalls int64 TotalSeconds int64 TotalMinutes float32 TotalHours float32 AverageMinutes float32 DailyCalls float32 DailyMinutes float32 DailyHours float32 Dt14Start int64 Dt14End int64 }
func NewCallLogStats ¶
func NewCallLogStats(days int64) CallLogStats
func (*CallLogStats) Inflate ¶
func (s *CallLogStats) Inflate()
Click to show internal directories.
Click to hide internal directories.