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

# Functions

NewAdminAddTrustedKeyRequestWithBody generates requests for AdminAddTrustedKey with any type of body.
NewAdminDeleteTrustedKeyRequest generates requests for AdminDeleteTrustedKey.
NewAdminGetTrustedKeyRequest generates requests for AdminGetTrustedKey.
NewAdminListTrustedKeysRequest generates requests for AdminListTrustedKeys.
NewAdminUpdateTrustedKeyRequestWithBody generates requests for AdminUpdateTrustedKey with any type of body.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewFederationPingRequest generates requests for FederationPing.
NewFederationSetAuthorizerKeysRequest calls the generic FederationSetAuthorizerKeys builder with application/json body.
NewFederationSetAuthorizerKeysRequestWithBody generates requests for FederationSetAuthorizerKeys with any type of body.
ParseAdminAddTrustedKeyResponse parses an HTTP response from a AdminAddTrustedKeyWithResponse call.
ParseAdminDeleteTrustedKeyResponse parses an HTTP response from a AdminDeleteTrustedKeyWithResponse call.
ParseAdminGetTrustedKeyResponse parses an HTTP response from a AdminGetTrustedKeyWithResponse call.
ParseAdminListTrustedKeysResponse parses an HTTP response from a AdminListTrustedKeysWithResponse call.
ParseAdminUpdateTrustedKeyResponse parses an HTTP response from a AdminUpdateTrustedKeyWithResponse call.
ParseFederationPingResponse parses an HTTP response from a FederationPingWithResponse call.
ParseFederationSetAuthorizerKeysResponse parses an HTTP response from a FederationSetAuthorizerKeysWithResponse 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

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
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
Contains short statistic from the node.
TrustedKeyRecord defines model for TrustedKeyRecord.

# 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.
FederationSetAuthorizerKeysJSONBody defines parameters for FederationSetAuthorizerKeys.
FederationSetAuthorizerKeysJSONRequestBody defines body for FederationSetAuthorizerKeys for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.
TrustedKey defines model for TrustedKey.