package
0.0.0-20241217064511-187ce2810470
Repository: https://github.com/playhubstudio/public-api.git
Documentation: pkg.go.dev

# Functions

GetSwagger returns the Swagger specification corresponding to the generated code in this file.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewGetCurrenciesRequest generates requests for GetCurrencies.
NewGetFreeRoundsRequest generates requests for GetFreeRounds.
NewPostFreeRoundsCancelRequest calls the generic PostFreeRoundsCancel builder with application/json body.
NewPostFreeRoundsCancelRequestWithBody generates requests for PostFreeRoundsCancel with any type of body.
NewPostFreeRoundsRequest calls the generic PostFreeRounds builder with application/json body.
NewPostFreeRoundsRequestWithBody generates requests for PostFreeRounds with any type of body.
NewPostGameCreateNewRequest calls the generic PostGameCreateNew builder with application/json body.
NewPostGameCreateNewRequestWithBody generates requests for PostGameCreateNew with any type of body.
NewPostGameRoundHistoryRequest calls the generic PostGameRoundHistory builder with application/json body.
NewPostGameRoundHistoryRequestWithBody generates requests for PostGameRoundHistory with any type of body.
NewPutFreeRoundsRequest calls the generic PutFreeRounds builder with application/json body.
NewPutFreeRoundsRequestWithBody generates requests for PutFreeRounds with any type of body.
ParseGetCurrenciesResponse parses an HTTP response from a GetCurrenciesWithResponse call.
ParseGetFreeRoundsResponse parses an HTTP response from a GetFreeRoundsWithResponse call.
ParsePostFreeRoundsCancelResponse parses an HTTP response from a PostFreeRoundsCancelWithResponse call.
ParsePostFreeRoundsResponse parses an HTTP response from a PostFreeRoundsWithResponse call.
ParsePostGameCreateNewResponse parses an HTTP response from a PostGameCreateNewWithResponse call.
ParsePostGameRoundHistoryResponse parses an HTTP response from a PostGameRoundHistoryWithResponse call.
ParsePutFreeRoundsResponse parses an HTTP response from a PutFreeRoundsWithResponse call.
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
RegisterHandlers adds each server route to the EchoRouter.
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.

# Constants

Defines values for CreateNewGameRequestProviderid.

# Structs

CancelFreeRoundsRequest defines model for CancelFreeRoundsRequest.
CancelFreeRoundsResponse defines model for CancelFreeRoundsResponse.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
CreateFreeRoundsRequest defines model for CreateFreeRoundsRequest.
CreateFreeRoundsResponse defines model for CreateFreeRoundsResponse.
CreateNewGameRequest defines model for CreateNewGameRequest.
CreateNewGameResponse defines model for CreateNewGameResponse.
CurrencyInfo defines model for CurrencyInfo.
FreeRoundsResponse defines model for FreeRoundsResponse.
GetCurrenciesParams defines parameters for GetCurrencies.
No description provided by the author
GetFreeRoundsParams defines parameters for GetFreeRounds.
No description provided by the author
GetGameRoundHistoryRequest defines model for GetGameRoundHistoryRequest.
GetGameRoundHistoryResponse defines model for GetGameRoundHistoryResponse.
PostFreeRoundsCancelParams defines parameters for PostFreeRoundsCancel.
No description provided by the author
PostFreeRoundsParams defines parameters for PostFreeRounds.
No description provided by the author
PostGameCreateNewParams defines parameters for PostGameCreateNew.
No description provided by the author
PostGameRoundHistoryParams defines parameters for PostGameRoundHistory.
No description provided by the author
PutFreeRoundsParams defines parameters for PutFreeRounds.
No description provided by the author
ServerInterfaceWrapper converts echo contexts to parameters.
UpdateFreeRoundsRequest defines model for UpdateFreeRoundsRequest.
UpdateFreeRoundsResponse defines model for UpdateFreeRoundsResponse.

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration.
Doer performs HTTP requests.
ServerInterface represents all server handlers.

# Type aliases

ClientOption allows setting custom parameters during construction.
CreateNewGameRequestProviderid Provider ID.
CurrenciesResponse defines model for CurrenciesResponse.
PostFreeRoundsCancelJSONRequestBody defines body for PostFreeRoundsCancel for application/json ContentType.
PostFreeRoundsJSONRequestBody defines body for PostFreeRounds for application/json ContentType.
PostGameCreateNewJSONRequestBody defines body for PostGameCreateNew for application/json ContentType.
PostGameRoundHistoryJSONRequestBody defines body for PostGameRoundHistory for application/json ContentType.
PutFreeRoundsJSONRequestBody defines body for PutFreeRounds for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.