Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BestPlayersReply ¶
BestPlayersReply holds the response paramas for GetTeamBestPlayers
type BestPlayersRequest ¶
type BestPlayersRequest struct {
Team string
}
BestPlayersRequest holds the request paramas for GetTeamBestPlayers
type BestPositionReply ¶
BestPositionReply holds the response paramas for GetBestDefenders
type BestPositionRequest ¶
type BestPositionRequest struct {
Position string `json:"position"`
}
BestPositionRequest holds the request paramas for GetBestDefenders
type CreatePlayerReply ¶
CreatePlayerReply holds the response paramas for CeeatePLayer
type CreatePlayerRequest ¶
CreatePlayerRequest holds the request paramas for CreatePlayer
type DeletePlayerReply ¶
DeletePlayerReply holds the response paramas for DeletePLayer
type DeletePlayerRequest ¶
DeletePlayerRequest holds the request paramas for DeletePlayer
type Endpoints ¶
type Endpoints struct { GetTableEndpoint endpoint.Endpoint GetTeamBestPlayersEndpoint endpoint.Endpoint GetPositionBestPlayersEndpoint endpoint.Endpoint CreatePlayerEndpoint endpoint.Endpoint DeletePlayerEndpoint endpoint.Endpoint TransferPlayerEndpoint endpoint.Endpoint }
Endpoints holds all Stats Service enpoints
func MakeSiteEndpoints ¶
func MakeSiteEndpoints(s service.SiteService) Endpoints
MakeSiteEndpoints initialize all service Endpoints
type TableReply ¶
TableReply holds the response params for ListTables
type TableRequest ¶
type TableRequest struct {
League string
}
TableRequest holds the request params for ListTables
type TransferPlayerReply ¶
TransferPlayerReply holds the response paramas for TransferPLayer
type TransferPlayerRequest ¶
TransferPlayerRequest holds the request paramas for TransferPlayer