Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameController ¶
func NewGameController ¶
func NewGameController(steamService service.SteamClient, redisClient cache.RedisClient, db persistence.StorageDB, gameProcessor service.GameProcessor) GameController
type GameControllers ¶
type GameControllers struct {
// contains filtered or unexported fields
}
func (*GameControllers) GetCachedGameDetails ¶
func (gc *GameControllers) GetCachedGameDetails(gameID int) (*entity.GameDetails, error)
func (*GameControllers) GetGameDetailsByID ¶
func (gc *GameControllers) GetGameDetailsByID(ctx *gin.Context)
func (*GameControllers) GetGames ¶
func (gc *GameControllers) GetGames(c *gin.Context)
func (*GameControllers) SaveToCache ¶
func (gc *GameControllers) SaveToCache(gameID string, data interface{}) error
type ProcessController ¶
func NewProcessController ¶
func NewProcessController(sv *service.GameProcessor) ProcessController
type ReviewController ¶
func NewReviewController ¶
func NewReviewController(api service.ReviewsClient, storage persistence.StorageDB, redisClient cache.RedisClient) ReviewController
Click to show internal directories.
Click to hide internal directories.