Documentation ¶
Index ¶
- func NewGameStoreSvcClient(ctx context.Context, gameStoreSvcClientURL string) game_store_svc_v1.GameStoreSvc
- type GameStoreSvcClient
- func (c *GameStoreSvcClient) CreateGame(ctx context.Context, game *game_store_svc_v1_entities.GameCreate) (*game_store_svc_v1_entities.Game, error)
- func (c *GameStoreSvcClient) GetGameByID(ctx context.Context, id string) (*game_store_svc_v1_entities.Game, error)
- func (c *GameStoreSvcClient) GetGameByName(ctx context.Context, name string) (*game_store_svc_v1_entities.Game, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGameStoreSvcClient ¶
func NewGameStoreSvcClient(ctx context.Context, gameStoreSvcClientURL string) game_store_svc_v1.GameStoreSvc
Types ¶
type GameStoreSvcClient ¶
type GameStoreSvcClient struct {
// contains filtered or unexported fields
}
func (*GameStoreSvcClient) CreateGame ¶
func (c *GameStoreSvcClient) CreateGame(ctx context.Context, game *game_store_svc_v1_entities.GameCreate) (*game_store_svc_v1_entities.Game, error)
func (*GameStoreSvcClient) GetGameByID ¶
func (c *GameStoreSvcClient) GetGameByID(ctx context.Context, id string) (*game_store_svc_v1_entities.Game, error)
func (*GameStoreSvcClient) GetGameByName ¶
func (c *GameStoreSvcClient) GetGameByName(ctx context.Context, name string) (*game_store_svc_v1_entities.Game, error)
Click to show internal directories.
Click to hide internal directories.