initial commit
This commit is contained in:
15
internal/entities/stats.go
Normal file
15
internal/entities/stats.go
Normal file
@ -0,0 +1,15 @@
|
||||
package entities
|
||||
|
||||
import "time"
|
||||
|
||||
type DeviceID string
|
||||
|
||||
type DeviceStatistics struct {
|
||||
ID DeviceID
|
||||
IncomingTrafficBytes int
|
||||
OutgoingTrafficBytes int
|
||||
IncomingRPS int
|
||||
ReadRPS int
|
||||
WriteRPS int
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
Reference in New Issue
Block a user