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.
NewGetUserProjectRequest generates requests for GetUserProject.
NewGetUserRequest generates requests for GetUser.
NewListUserAuthMethodRequest generates requests for ListUserAuthMethod.
NewListUserAuthRequest generates requests for ListUserAuth.
NewListUserInviteRequest generates requests for ListUserInvite.
NewListUserMailingRequest generates requests for ListUserMailing.
NewListUserSessionRequest generates requests for ListUserSession.
ParseGetUserProjectResponse parses an HTTP response from a GetUserProjectWithResponse call.
ParseGetUserResponse parses an HTTP response from a GetUserWithResponse call.
ParseListUserAuthMethodResponse parses an HTTP response from a ListUserAuthMethodWithResponse call.
ParseListUserAuthResponse parses an HTTP response from a ListUserAuthWithResponse call.
ParseListUserInviteResponse parses an HTTP response from a ListUserInviteWithResponse call.
ParseListUserMailingResponse parses an HTTP response from a ListUserMailingWithResponse call.
ParseListUserSessionResponse parses an HTTP response from a ListUserSessionWithResponse 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

Auth defines model for Auth.
AuthMethod defines model for AuthMethod.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
No description provided by the author
No description provided by the author
Invite defines model for Invite.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Mailing defines model for Mailing.
Project defines model for Project.
Session defines model for Session.
User defines model for User.

# 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.