Documentation
¶
Overview ¶
Package handler provides a lobby_v1.LobbyService handler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is the handler for the lobby_v1.LobbyService service.
func New ¶
func New(svcCtx *cli.ServiceContext, logger log.Logger, client client.Type, hgClient *httpgateway.Client, server server.Server) *Handler
New creates a new Handler.
func Provide ¶
func Provide( svcCtx *cli.ServiceContext, logger log.Logger, client client.Type, hgClient *httpgateway.Client, server server.Server, ) (*Handler, error)
Provide provides a handler to wire.
func (*Handler) ListGames ¶
func (h *Handler) ListGames(_ context.Context, _ *emptypb.Empty) (*lobby_v1.ListGamesResponse, error)
ListGames is the actual implementation of the ListGames method.
Click to show internal directories.
Click to hide internal directories.