Add tests [TestListSenderNames] [TestListUserSenderNames]
This commit is contained in:
8
scnserver/models/senderNames.go
Normal file
8
scnserver/models/senderNames.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package models
|
||||
|
||||
type SenderNameStatistics struct {
|
||||
SenderName string `json:"name" db:"name"`
|
||||
LastTimestamp SCNTime `json:"last_timestamp" db:"ts_last"`
|
||||
FirstTimestamp SCNTime `json:"first_timestamp" db:"ts_first"`
|
||||
Count int `json:"count" db:"count"`
|
||||
}
|
Reference in New Issue
Block a user