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.
NewDailySessionsSummaryRequest generates requests for DailySessionsSummary.
NewDailyUserSessionsRequest generates requests for DailyUserSessions.
ParseDailySessionsSummaryResponse parses an HTTP response from a DailySessionsSummaryWithResponse call.
ParseDailyUserSessionsResponse parses an HTTP response from a DailyUserSessionsWithResponse 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
# Structs
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
DailySessionsSummary defines model for DailySessionsSummary.
DailySessionsSummaryParams defines parameters for DailySessionsSummary.
No description provided by the author
DailySummary defines model for DailySummary.
DailyUserSession defines model for DailyUserSession.
DailyUserSessions defines model for DailyUserSessions.
DailyUserSessionsParams defines parameters for DailyUserSessions.
No description provided by the author
SessionsSummary defines model for SessionsSummary.
# 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.