-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
214 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package view | ||
|
||
import "github.com/dwarvesf/fortress-api/pkg/model" | ||
|
||
// OgifStats contains list of ogif and some stats | ||
type OgifStats struct { | ||
OgifList []model.EventSpeaker `json:"ogifList"` | ||
UserAllTimeSpeaksCount int64 `json:"userAllTimeSpeaksCount"` | ||
UserAllTimeRank int64 `json:"userAllTimeRank"` | ||
UserCurrentSpeaksCount int64 `json:"userCurrentSpeaksCount"` | ||
UserCurrentRank int64 `json:"userCurrentRank"` | ||
TotalSpeakCount int64 `json:"totalSpeakCount"` | ||
CurrentSpeakCount int64 `json:"currentSpeakCount"` | ||
} | ||
|
||
// OgifStatsResponse return ogif stats response | ||
type OgifStatsResponse struct { | ||
Data OgifStats `json:"data"` | ||
} // @name OgifStatsResponse |