package
0.0.0-20240916134854-020f48ada450
Repository: https://github.com/vpnhouse/api.git
Documentation: pkg.go.dev

# Functions

Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewGetCredentialsRequest generates requests for GetCredentials.
NewGetLocationsRequest generates requests for GetLocations.
NewGetOptimalRequest generates requests for GetOptimal.
ParseGetCredentialsResponse parses an HTTP response from a GetCredentialsWithResponse call.
ParseGetLocationsResponse parses an HTTP response from a GetLocationsWithResponse call.
ParseGetOptimalResponse parses an HTTP response from a GetOptimalWithResponse call.
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

No description provided by the author
No description provided by the author

# Structs

Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
GetCredentialsParams defines parameters for GetCredentials.
No description provided by the author
GetLocationsParams defines parameters for GetLocations.
No description provided by the author
GetOptimalParams defines parameters for GetOptimal.
No description provided by the author
Location defines model for Location.
Node defines model for Node.

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.

# Type aliases

ClientOption allows setting custom parameters during construction.
RequestEditorFn is the function signature for the RequestEditor callback function.