Skip to content

Commit

Permalink
fix response CollectedAt int64 json:"collectedAt"
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Feb 3, 2023
1 parent a8fc10e commit 5b38235
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions haivision/stats/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ type DestinationStatisticsSrtConnectionsModel struct {
}
*/
type ResponseRouteStatistics struct {
CollectedAt string `json:"collectedAt"`
CollectedAt int64 `json:"collectedAt"`
Route struct {
Name string `json:"name"`
ElapsedRunningTime string `json:"elapsedRunningTime"`
Expand All @@ -319,7 +319,7 @@ type ResponseRouteStatistics struct {
}
*/
type ResponseSourceStatistics struct {
CollectedAt string `json:"collectedAt"`
CollectedAt int64 `json:"collectedAt"`
Source SourceStatisticsModel `json:"source"`
}

Expand All @@ -345,6 +345,6 @@ type ResponseDestinationStatistics struct {
}
*/
type ResponseSrtClientStatistics struct {
CollectedAt string `json:"collectedAt"`
CollectedAt int64 `json:"collectedAt"`
ClientStat []interface{} `json:"clientStat"`
}

0 comments on commit 5b38235

Please sign in to comment.