Documentation ¶
Index ¶
- type Handler
- func (h *Handler) GetByFilter(ctx context.Context, request *proto.GetByFilterRequest) (*proto.GamesResponse, error)
- func (h *Handler) GetByID(ctx context.Context, request *proto.GetByIDRequest) (*proto.GameResponse, error)
- func (h *Handler) GetBySlug(ctx context.Context, request *proto.GetBySlugRequest) (*proto.GameResponse, error)
- func (h *Handler) GetFeatures(ctx context.Context, request *proto.GetFeaturesRequest) (*proto.FeaturesResponse, error)
- func (h *Handler) GetGenres(ctx context.Context, request *proto.GetGenresRequest) (*proto.GenresResponse, error)
- func (h *Handler) GetShortByFilter(ctx context.Context, request *proto.GetShortByFilterRequest) (*proto.GetShortByFilterResponse, error)
- func (h *Handler) RequestIDsToIDs(ids []uint64) []uint
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { GameService service.GameService FeatureService service.FeatureService GenreService service.GenreService RegionCurrencyService service.RegionCurrencyService LocalizationService service.LocalizationService LanguageService service.LanguageService MediaService service.MediaService URLBuilder url_builder.Helper }
func (*Handler) GetByFilter ¶
func (h *Handler) GetByFilter(ctx context.Context, request *proto.GetByFilterRequest) (*proto.GamesResponse, error)
func (*Handler) GetByID ¶
func (h *Handler) GetByID(ctx context.Context, request *proto.GetByIDRequest) (*proto.GameResponse, error)
func (*Handler) GetBySlug ¶
func (h *Handler) GetBySlug(ctx context.Context, request *proto.GetBySlugRequest) (*proto.GameResponse, error)
func (*Handler) GetFeatures ¶
func (h *Handler) GetFeatures(ctx context.Context, request *proto.GetFeaturesRequest) (*proto.FeaturesResponse, error)
func (*Handler) GetGenres ¶
func (h *Handler) GetGenres(ctx context.Context, request *proto.GetGenresRequest) (*proto.GenresResponse, error)
func (*Handler) GetShortByFilter ¶
func (h *Handler) GetShortByFilter(ctx context.Context, request *proto.GetShortByFilterRequest) (*proto.GetShortByFilterResponse, error)
func (*Handler) RequestIDsToIDs ¶
type Params ¶
type Params struct { fx.In GameService service.GameService GenreService service.GenreService FeatureService service.FeatureService RegionCurrencyService service.RegionCurrencyService LocalizationService service.LocalizationService LanguageService service.LanguageService MediaService service.MediaService URLBuilder url_builder.Helper }
Click to show internal directories.
Click to hide internal directories.