package
0.0.0-20250118212825-6dc59d83db48
Repository: https://github.com/marc921/talk.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.
NewGetAuthUsernameRequest generates requests for GetAuthUsername.
NewGetMessagesUsernameRequest generates requests for GetMessagesUsername.
NewGetUsersUsernameRequest generates requests for GetUsersUsername.
NewPostAuthUsernameRequest calls the generic PostAuthUsername builder with application/json body.
NewPostAuthUsernameRequestWithBody generates requests for PostAuthUsername with any type of body.
NewPostMessagesUsernameRequest calls the generic PostMessagesUsername builder with application/json body.
NewPostMessagesUsernameRequestWithBody generates requests for PostMessagesUsername with any type of body.
NewPostUsersRequest calls the generic PostUsers builder with application/json body.
NewPostUsersRequestWithBody generates requests for PostUsers with any type of body.
ParseGetAuthUsernameResponse parses an HTTP response from a GetAuthUsernameWithResponse call.
ParseGetMessagesUsernameResponse parses an HTTP response from a GetMessagesUsernameWithResponse call.
ParseGetUsersUsernameResponse parses an HTTP response from a GetUsersUsernameWithResponse call.
ParsePostAuthUsernameResponse parses an HTTP response from a PostAuthUsernameWithResponse call.
ParsePostMessagesUsernameResponse parses an HTTP response from a PostMessagesUsernameWithResponse call.
ParsePostUsersResponse parses an HTTP response from a PostUsersWithResponse 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
AuthChallenge defines model for AuthChallenge.
AuthChallengeSigned defines model for AuthChallengeSigned.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
ErrorResponse defines model for ErrorResponse.
No description provided by the author
No description provided by the author
No description provided by the author
JWT defines model for JWT.
Message defines model for Message.
No description provided by the author
No description provided by the author
No description provided by the author
PublicUser defines model for PublicUser.
# 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
CipherText defines model for CipherText.
ClientOption allows setting custom parameters during construction.
PostAuthUsernameJSONRequestBody defines body for PostAuthUsername for application/json ContentType.
PostMessagesUsernameJSONRequestBody defines body for PostMessagesUsername for application/json ContentType.
PostUsersJSONRequestBody defines body for PostUsers for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.
Username defines model for Username.