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.
NewCreateAuthMethodRequest calls the generic CreateAuthMethod builder with application/json body.
NewCreateAuthMethodRequestWithBody generates requests for CreateAuthMethod with any type of body.
NewCreateAuthRequest calls the generic CreateAuth builder with application/json body.
NewCreateAuthRequestWithBody generates requests for CreateAuth with any type of body.
NewCreateConfirmationRequest calls the generic CreateConfirmation builder with application/json body.
NewCreateConfirmationRequestWithBody generates requests for CreateConfirmation with any type of body.
NewCreateInviteRequest calls the generic CreateInvite builder with application/json body.
NewCreateInviteRequestWithBody generates requests for CreateInvite with any type of body.
NewCreateMailingRequest calls the generic CreateMailing builder with application/json body.
NewCreateMailingRequestWithBody generates requests for CreateMailing with any type of body.
NewCreateProjectRequest calls the generic CreateProject builder with application/json body.
NewCreateProjectRequestWithBody generates requests for CreateProject with any type of body.
NewCreateSessionRequest calls the generic CreateSession builder with application/json body.
NewCreateSessionRequestWithBody generates requests for CreateSession with any type of body.
NewCreateUserRequest calls the generic CreateUser builder with application/json body.
NewCreateUserRequestWithBody generates requests for CreateUser with any type of body.
NewDeleteAuthMethodRequest generates requests for DeleteAuthMethod.
NewDeleteAuthRequest generates requests for DeleteAuth.
NewDeleteConfirmationRequest generates requests for DeleteConfirmation.
NewDeleteInviteRequest generates requests for DeleteInvite.
NewDeleteMailingRequest generates requests for DeleteMailing.
NewDeleteProjectRequest generates requests for DeleteProject.
NewDeleteSessionRequest generates requests for DeleteSession.
NewDeleteUserRequest generates requests for DeleteUser.
NewFindAuthRequest calls the generic FindAuth builder with application/json body.
NewFindAuthRequestWithBody generates requests for FindAuth with any type of body.
NewFindConfirmationRequest calls the generic FindConfirmation builder with application/json body.
NewFindConfirmationRequestWithBody generates requests for FindConfirmation with any type of body.
NewFindSessionRequest calls the generic FindSession builder with application/json body.
NewFindSessionRequestWithBody generates requests for FindSession with any type of body.
NewFindUserRequest calls the generic FindUser builder with application/json body.
NewFindUserRequestWithBody generates requests for FindUser with any type of body.
NewGetAuthMethodRequest generates requests for GetAuthMethod.
NewGetAuthRequest generates requests for GetAuth.
NewGetConfirmationRequest generates requests for GetConfirmation.
NewGetInviteByTokenIdRequest generates requests for GetInviteByTokenId.
NewGetInviteRequest generates requests for GetInvite.
NewGetMailingRequest generates requests for GetMailing.
NewGetProjectRequest generates requests for GetProject.
NewGetSessionRequest generates requests for GetSession.
NewGetUserRequest generates requests for GetUser.
NewListAuthMethodRequest generates requests for ListAuthMethod.
NewListAuthRequest generates requests for ListAuth.
NewListConfirmationRequest generates requests for ListConfirmation.
NewListConnectedUsersRequest generates requests for ListConnectedUsers.
NewListEmailRequest generates requests for ListEmail.
NewListInviteRequest generates requests for ListInvite.
NewListMailingRequest generates requests for ListMailing.
NewListNodeWithNotConnectedPeerUsersRequest generates requests for ListNodeWithNotConnectedPeerUsers.
NewListProjectRequest generates requests for ListProject.
NewListRemindInviteRequest generates requests for ListRemindInvite.
NewListSessionFilterRequest generates requests for ListSessionFilter.
NewListSessionRequest generates requests for ListSession.
NewListUserRequest generates requests for ListUser.
NewLookupUserRequest calls the generic LookupUser builder with application/json body.
NewLookupUserRequestWithBody generates requests for LookupUser with any type of body.
NewPatchAuthMethodRequest calls the generic PatchAuthMethod builder with application/json body.
NewPatchAuthMethodRequestWithBody generates requests for PatchAuthMethod with any type of body.
NewPatchAuthRequest calls the generic PatchAuth builder with application/json body.
NewPatchAuthRequestWithBody generates requests for PatchAuth with any type of body.
NewPatchConfirmationRequest calls the generic PatchConfirmation builder with application/json body.
NewPatchConfirmationRequestWithBody generates requests for PatchConfirmation with any type of body.
NewPatchInviteRequest calls the generic PatchInvite builder with application/json body.
NewPatchInviteRequestWithBody generates requests for PatchInvite with any type of body.
NewPatchMailingRequest calls the generic PatchMailing builder with application/json body.
NewPatchMailingRequestWithBody generates requests for PatchMailing with any type of body.
NewPatchProjectRequest calls the generic PatchProject builder with application/json body.
NewPatchProjectRequestWithBody generates requests for PatchProject with any type of body.
NewPatchSessionRequest calls the generic PatchSession builder with application/json body.
NewPatchSessionRequestWithBody generates requests for PatchSession with any type of body.
NewPatchUserRequest calls the generic PatchUser builder with application/json body.
NewPatchUserRequestWithBody generates requests for PatchUser with any type of body.
NewRegisterUserRequest calls the generic RegisterUser builder with application/json body.
NewRegisterUserRequestWithBody generates requests for RegisterUser with any type of body.
NewRemainConfirmationRequest calls the generic RemainConfirmation builder with application/json body.
NewRemainConfirmationRequestWithBody generates requests for RemainConfirmation with any type of body.
NewRotateConfirmationRequest calls the generic RotateConfirmation builder with application/json body.
NewRotateConfirmationRequestWithBody generates requests for RotateConfirmation with any type of body.
NewSetSessionDeletedRequest calls the generic SetSessionDeleted builder with application/json body.
NewSetSessionDeletedRequestWithBody generates requests for SetSessionDeleted with any type of body.
NewSetSessionToDeleteRequest calls the generic SetSessionToDelete builder with application/json body.
NewSetSessionToDeleteRequestWithBody generates requests for SetSessionToDelete with any type of body.
NewUpdateAuthMethodRequest calls the generic UpdateAuthMethod builder with application/json body.
NewUpdateAuthMethodRequestWithBody generates requests for UpdateAuthMethod with any type of body.
NewUpdateAuthRequest calls the generic UpdateAuth builder with application/json body.
NewUpdateAuthRequestWithBody generates requests for UpdateAuth with any type of body.
NewUpdateConfirmationRequest calls the generic UpdateConfirmation builder with application/json body.
NewUpdateConfirmationRequestWithBody generates requests for UpdateConfirmation with any type of body.
NewUpdateInviteRequest calls the generic UpdateInvite builder with application/json body.
NewUpdateInviteRequestWithBody generates requests for UpdateInvite with any type of body.
NewUpdateMailingRequest calls the generic UpdateMailing builder with application/json body.
NewUpdateMailingRequestWithBody generates requests for UpdateMailing with any type of body.
NewUpdatePeersAsConnectedRequest generates requests for UpdatePeersAsConnected.
NewUpdateProjectRequest calls the generic UpdateProject builder with application/json body.
NewUpdateProjectRequestWithBody generates requests for UpdateProject with any type of body.
NewUpdateSessionRequest calls the generic UpdateSession builder with application/json body.
NewUpdateSessionRequestWithBody generates requests for UpdateSession with any type of body.
NewUpdateUserRequest calls the generic UpdateUser builder with application/json body.
NewUpdateUserRequestWithBody generates requests for UpdateUser with any type of body.
ParseCreateAuthMethodResponse parses an HTTP response from a CreateAuthMethodWithResponse call.
ParseCreateAuthResponse parses an HTTP response from a CreateAuthWithResponse call.
ParseCreateConfirmationResponse parses an HTTP response from a CreateConfirmationWithResponse call.
ParseCreateInviteResponse parses an HTTP response from a CreateInviteWithResponse call.
ParseCreateMailingResponse parses an HTTP response from a CreateMailingWithResponse call.
ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call.
ParseCreateSessionResponse parses an HTTP response from a CreateSessionWithResponse call.
ParseCreateUserResponse parses an HTTP response from a CreateUserWithResponse call.
ParseDeleteAuthMethodResponse parses an HTTP response from a DeleteAuthMethodWithResponse call.
ParseDeleteAuthResponse parses an HTTP response from a DeleteAuthWithResponse call.
ParseDeleteConfirmationResponse parses an HTTP response from a DeleteConfirmationWithResponse call.
ParseDeleteInviteResponse parses an HTTP response from a DeleteInviteWithResponse call.
ParseDeleteMailingResponse parses an HTTP response from a DeleteMailingWithResponse call.
ParseDeleteProjectResponse parses an HTTP response from a DeleteProjectWithResponse call.
ParseDeleteSessionResponse parses an HTTP response from a DeleteSessionWithResponse call.
ParseDeleteUserResponse parses an HTTP response from a DeleteUserWithResponse call.
ParseFindAuthResponse parses an HTTP response from a FindAuthWithResponse call.
ParseFindConfirmationResponse parses an HTTP response from a FindConfirmationWithResponse call.
ParseFindSessionResponse parses an HTTP response from a FindSessionWithResponse call.
ParseFindUserResponse parses an HTTP response from a FindUserWithResponse call.
ParseGetAuthMethodResponse parses an HTTP response from a GetAuthMethodWithResponse call.
ParseGetAuthResponse parses an HTTP response from a GetAuthWithResponse call.
ParseGetConfirmationResponse parses an HTTP response from a GetConfirmationWithResponse call.
ParseGetInviteByTokenIdResponse parses an HTTP response from a GetInviteByTokenIdWithResponse call.
ParseGetInviteResponse parses an HTTP response from a GetInviteWithResponse call.
ParseGetMailingResponse parses an HTTP response from a GetMailingWithResponse call.
ParseGetProjectResponse parses an HTTP response from a GetProjectWithResponse call.
ParseGetSessionResponse parses an HTTP response from a GetSessionWithResponse call.
ParseGetUserResponse parses an HTTP response from a GetUserWithResponse call.
ParseListAuthMethodResponse parses an HTTP response from a ListAuthMethodWithResponse call.
ParseListAuthResponse parses an HTTP response from a ListAuthWithResponse call.
ParseListConfirmationResponse parses an HTTP response from a ListConfirmationWithResponse call.
ParseListConnectedUsersResponse parses an HTTP response from a ListConnectedUsersWithResponse call.
ParseListEmailResponse parses an HTTP response from a ListEmailWithResponse call.
ParseListInviteResponse parses an HTTP response from a ListInviteWithResponse call.
ParseListMailingResponse parses an HTTP response from a ListMailingWithResponse call.
ParseListNodeWithNotConnectedPeerUsersResponse parses an HTTP response from a ListNodeWithNotConnectedPeerUsersWithResponse call.
ParseListProjectResponse parses an HTTP response from a ListProjectWithResponse call.
ParseListRemindInviteResponse parses an HTTP response from a ListRemindInviteWithResponse call.
ParseListSessionFilterResponse parses an HTTP response from a ListSessionFilterWithResponse call.
ParseListSessionResponse parses an HTTP response from a ListSessionWithResponse call.
ParseListUserResponse parses an HTTP response from a ListUserWithResponse call.
ParseLookupUserResponse parses an HTTP response from a LookupUserWithResponse call.
ParsePatchAuthMethodResponse parses an HTTP response from a PatchAuthMethodWithResponse call.
ParsePatchAuthResponse parses an HTTP response from a PatchAuthWithResponse call.
ParsePatchConfirmationResponse parses an HTTP response from a PatchConfirmationWithResponse call.
ParsePatchInviteResponse parses an HTTP response from a PatchInviteWithResponse call.
ParsePatchMailingResponse parses an HTTP response from a PatchMailingWithResponse call.
ParsePatchProjectResponse parses an HTTP response from a PatchProjectWithResponse call.
ParsePatchSessionResponse parses an HTTP response from a PatchSessionWithResponse call.
ParsePatchUserResponse parses an HTTP response from a PatchUserWithResponse call.
ParseRegisterUserResponse parses an HTTP response from a RegisterUserWithResponse call.
ParseRemainConfirmationResponse parses an HTTP response from a RemainConfirmationWithResponse call.
ParseRotateConfirmationResponse parses an HTTP response from a RotateConfirmationWithResponse call.
ParseSetSessionDeletedResponse parses an HTTP response from a SetSessionDeletedWithResponse call.
ParseSetSessionToDeleteResponse parses an HTTP response from a SetSessionToDeleteWithResponse call.
ParseUpdateAuthMethodResponse parses an HTTP response from a UpdateAuthMethodWithResponse call.
ParseUpdateAuthResponse parses an HTTP response from a UpdateAuthWithResponse call.
ParseUpdateConfirmationResponse parses an HTTP response from a UpdateConfirmationWithResponse call.
ParseUpdateInviteResponse parses an HTTP response from a UpdateInviteWithResponse call.
ParseUpdateMailingResponse parses an HTTP response from a UpdateMailingWithResponse call.
ParseUpdatePeersAsConnectedResponse parses an HTTP response from a UpdatePeersAsConnectedWithResponse call.
ParseUpdateProjectResponse parses an HTTP response from a UpdateProjectWithResponse call.
ParseUpdateSessionResponse parses an HTTP response from a UpdateSessionWithResponse call.
ParseUpdateUserResponse parses an HTTP response from a UpdateUserWithResponse 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
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.
Confirmation defines model for Confirmation.
CreateAuthMethodParams defines model for CreateAuthMethodParams.
No description provided by the author
CreateAuthParams defines model for CreateAuthParams.
No description provided by the author
CreateConfirmationParams defines model for CreateConfirmationParams.
No description provided by the author
CreateInviteParams defines model for CreateInviteParams.
No description provided by the author
CreateMailingParams defines model for CreateMailingParams.
No description provided by the author
CreateProjectParams defines model for CreateProjectParams.
No description provided by the author
CreateSessionParams defines model for CreateSessionParams.
No description provided by the author
CreateUserParams defines model for CreateUserParams.
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FindAuthParams defines model for FindAuthParams.
No description provided by the author
FindConfirmationParams defines model for FindConfirmationParams.
No description provided by the author
FindSessionParams defines model for FindSessionParams.
No description provided by the author
FindUserParams defines model for FindUserParams.
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
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
Invite defines model for Invite.
ListAuthMethodParams defines parameters for ListAuthMethod.
No description provided by the author
ListAuthParams defines parameters for ListAuth.
No description provided by the author
ListConfirmationParams defines parameters for ListConfirmation.
No description provided by the author
ListConnectedUsersParams defines parameters for ListConnectedUsers.
No description provided by the author
ListEmailParams defines parameters for ListEmail.
No description provided by the author
ListInviteParams defines parameters for ListInvite.
No description provided by the author
ListMailingParams defines parameters for ListMailing.
No description provided by the author
No description provided by the author
ListProjectParams defines parameters for ListProject.
No description provided by the author
ListRemindInviteParams defines parameters for ListRemindInvite.
No description provided by the author
ListSessionFilterParams defines parameters for ListSessionFilter.
No description provided by the author
ListSessionParams defines parameters for ListSession.
No description provided by the author
ListUserParams defines parameters for ListUser.
No description provided by the author
LookupUserRequest defines model for LookupUserRequest.
No description provided by the author
Mailing defines model for Mailing.
PatchAuthMethodParams defines model for PatchAuthMethodParams.
No description provided by the author
PatchAuthParams defines model for PatchAuthParams.
No description provided by the author
PatchConfirmationParams defines model for PatchConfirmationParams.
No description provided by the author
PatchInviteParams defines model for PatchInviteParams.
No description provided by the author
PatchMailingParams defines model for PatchMailingParams.
No description provided by the author
PatchProjectParams defines model for PatchProjectParams.
No description provided by the author
PatchSessionParams defines model for PatchSessionParams.
No description provided by the author
PatchUserParams defines model for PatchUserParams.
No description provided by the author
PeerUser defines model for PeerUser.
Project defines model for Project.
RegisterUserRequest defines model for RegisterUserRequest.
No description provided by the author
RemainConfirmation defines model for RemainConfirmation.
RemainConfirmationParams defines model for RemainConfirmationParams.
No description provided by the author
RotateConfirmationParams defines model for RotateConfirmationParams.
No description provided by the author
Session defines model for Session.
SessionDeletedParams defines model for SessionDeletedParams.
SessionToDeleteParams defines model for SessionToDeleteParams.
No description provided by the author
No description provided by the author
UpdateAuthMethodParams defines model for UpdateAuthMethodParams.
No description provided by the author
UpdateAuthParams defines model for UpdateAuthParams.
No description provided by the author
UpdateConfirmationParams defines model for UpdateConfirmationParams.
No description provided by the author
UpdateInviteParams defines model for UpdateInviteParams.
No description provided by the author
UpdateMailingParams defines model for UpdateMailingParams.
No description provided by the author
UpdatePeersAsConnectedParams defines parameters for UpdatePeersAsConnected.
No description provided by the author
UpdateProjectParams defines model for UpdateProjectParams.
No description provided by the author
UpdateSessionParams defines model for UpdateSessionParams.
No description provided by the author
UpdateUserParams defines model for UpdateUserParams.
No description provided by the author
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.
CreateAuthJSONBody defines parameters for CreateAuth.
CreateAuthJSONRequestBody defines body for CreateAuth for application/json ContentType.
CreateAuthMethodJSONBody defines parameters for CreateAuthMethod.
CreateAuthMethodJSONRequestBody defines body for CreateAuthMethod for application/json ContentType.
CreateConfirmationJSONBody defines parameters for CreateConfirmation.
CreateConfirmationJSONRequestBody defines body for CreateConfirmation for application/json ContentType.
CreateInviteJSONBody defines parameters for CreateInvite.
CreateInviteJSONRequestBody defines body for CreateInvite for application/json ContentType.
CreateMailingJSONBody defines parameters for CreateMailing.
CreateMailingJSONRequestBody defines body for CreateMailing for application/json ContentType.
CreateProjectJSONBody defines parameters for CreateProject.
CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.
CreateSessionJSONBody defines parameters for CreateSession.
CreateSessionJSONRequestBody defines body for CreateSession for application/json ContentType.
CreateUserJSONBody defines parameters for CreateUser.
CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.
FindAuthJSONBody defines parameters for FindAuth.
FindAuthJSONRequestBody defines body for FindAuth for application/json ContentType.
FindConfirmationJSONBody defines parameters for FindConfirmation.
FindConfirmationJSONRequestBody defines body for FindConfirmation for application/json ContentType.
FindSessionJSONBody defines parameters for FindSession.
FindSessionJSONRequestBody defines body for FindSession for application/json ContentType.
FindUserJSONBody defines parameters for FindUser.
FindUserJSONRequestBody defines body for FindUser for application/json ContentType.
LookupUserJSONBody defines parameters for LookupUser.
LookupUserJSONRequestBody defines body for LookupUser for application/json ContentType.
PatchAuthJSONBody defines parameters for PatchAuth.
PatchAuthJSONRequestBody defines body for PatchAuth for application/json ContentType.
PatchAuthMethodJSONBody defines parameters for PatchAuthMethod.
PatchAuthMethodJSONRequestBody defines body for PatchAuthMethod for application/json ContentType.
PatchConfirmationJSONBody defines parameters for PatchConfirmation.
PatchConfirmationJSONRequestBody defines body for PatchConfirmation for application/json ContentType.
PatchInviteJSONBody defines parameters for PatchInvite.
PatchInviteJSONRequestBody defines body for PatchInvite for application/json ContentType.
PatchMailingJSONBody defines parameters for PatchMailing.
PatchMailingJSONRequestBody defines body for PatchMailing for application/json ContentType.
PatchProjectJSONBody defines parameters for PatchProject.
PatchProjectJSONRequestBody defines body for PatchProject for application/json ContentType.
PatchSessionJSONBody defines parameters for PatchSession.
PatchSessionJSONRequestBody defines body for PatchSession for application/json ContentType.
PatchUserJSONBody defines parameters for PatchUser.
PatchUserJSONRequestBody defines body for PatchUser for application/json ContentType.
RegisterUserJSONBody defines parameters for RegisterUser.
RegisterUserJSONRequestBody defines body for RegisterUser for application/json ContentType.
RemainConfirmationJSONBody defines parameters for RemainConfirmation.
RemainConfirmationJSONRequestBody defines body for RemainConfirmation for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.
RotateConfirmationJSONBody defines parameters for RotateConfirmation.
RotateConfirmationJSONRequestBody defines body for RotateConfirmation for application/json ContentType.
SetSessionDeletedJSONBody defines parameters for SetSessionDeleted.
SetSessionDeletedJSONRequestBody defines body for SetSessionDeleted for application/json ContentType.
SetSessionToDeleteJSONBody defines parameters for SetSessionToDelete.
SetSessionToDeleteJSONRequestBody defines body for SetSessionToDelete for application/json ContentType.
UpdateAuthJSONBody defines parameters for UpdateAuth.
UpdateAuthJSONRequestBody defines body for UpdateAuth for application/json ContentType.
UpdateAuthMethodJSONBody defines parameters for UpdateAuthMethod.
UpdateAuthMethodJSONRequestBody defines body for UpdateAuthMethod for application/json ContentType.
UpdateConfirmationJSONBody defines parameters for UpdateConfirmation.
UpdateConfirmationJSONRequestBody defines body for UpdateConfirmation for application/json ContentType.
UpdateInviteJSONBody defines parameters for UpdateInvite.
UpdateInviteJSONRequestBody defines body for UpdateInvite for application/json ContentType.
UpdateMailingJSONBody defines parameters for UpdateMailing.
UpdateMailingJSONRequestBody defines body for UpdateMailing for application/json ContentType.
UpdateProjectJSONBody defines parameters for UpdateProject.
UpdateProjectJSONRequestBody defines body for UpdateProject for application/json ContentType.
UpdateSessionJSONBody defines parameters for UpdateSession.
UpdateSessionJSONRequestBody defines body for UpdateSession for application/json ContentType.
UpdateUserJSONBody defines parameters for UpdateUser.
UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.