Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameHandler ¶
type GameHandler struct {
// contains filtered or unexported fields
}
func NewGameHandler ¶
func NewGameHandler( r *mux.Router, gRepo domain.GameRepository, gCache domain.GameCache, ) *GameHandler
func (*GameHandler) GetGameHandler ¶
func (g *GameHandler) GetGameHandler(w http.ResponseWriter, r *http.Request)
type LeaderboardHandler ¶
type LeaderboardHandler struct {
// contains filtered or unexported fields
}
func NewLeaderboardHandler ¶
func NewLeaderboardHandler( r *mux.Router, pRepo domain.PlayerRepository, ldRepo domain.LeaderboardDataRepository, ipCache domain.BannedIpsCache, ldCache domain.LeaderboardDataCache, ) *LeaderboardHandler
func (*LeaderboardHandler) GetLeaderboard ¶
func (l *LeaderboardHandler) GetLeaderboard(w http.ResponseWriter, r *http.Request)
func (*LeaderboardHandler) GetLeaderboardByPID ¶
func (l *LeaderboardHandler) GetLeaderboardByPID(w http.ResponseWriter, r *http.Request)
func (*LeaderboardHandler) NewLeaderboardData ¶
func (l *LeaderboardHandler) NewLeaderboardData(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.