handler

package
v0.0.0-...-56beac2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2022 License: MIT Imports: 11 Imported by: 0

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 (*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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL