Categorygithub.com/wentidev/sdk-go
modulepackage
0.0.2
Repository: https://github.com/wentidev/sdk-go.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.
NewDeleteApiV1HealthchecksIdRequest generates requests for DeleteApiV1HealthchecksId.
NewGetApiV1HealthchecksIdRequest generates requests for GetApiV1HealthchecksId.
NewGetApiV1HealthchecksRequest generates requests for GetApiV1Healthchecks.
NewGetApiV1MetricsRequest generates requests for GetApiV1Metrics.
NewPostApiV1HealthchecksRequest calls the generic PostApiV1Healthchecks builder with application/json body.
NewPostApiV1HealthchecksRequestWithBody generates requests for PostApiV1Healthchecks with any type of body.
NewPutApiV1HealthchecksIdRequest calls the generic PutApiV1HealthchecksId builder with application/json body.
NewPutApiV1HealthchecksIdRequestWithBody generates requests for PutApiV1HealthchecksId with any type of body.
ParseDeleteApiV1HealthchecksIdResponse parses an HTTP response from a DeleteApiV1HealthchecksIdWithResponse call.
ParseGetApiV1HealthchecksIdResponse parses an HTTP response from a GetApiV1HealthchecksIdWithResponse call.
ParseGetApiV1HealthchecksResponse parses an HTTP response from a GetApiV1HealthchecksWithResponse call.
ParseGetApiV1MetricsResponse parses an HTTP response from a GetApiV1MetricsWithResponse call.
ParsePostApiV1HealthchecksResponse parses an HTTP response from a PostApiV1HealthchecksWithResponse call.
ParsePutApiV1HealthchecksIdResponse parses an HTTP response from a PutApiV1HealthchecksIdWithResponse 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.

# Structs

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
GetApiV1HealthchecksParams defines parameters for GetApiV1Healthchecks.
No description provided by the author
No description provided by the author
PostApiV1HealthchecksJSONBody defines parameters for PostApiV1Healthchecks.
No description provided by the author
PutApiV1HealthchecksIdJSONBody defines parameters for PutApiV1HealthchecksId.
No description provided by the author

# 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.
PostApiV1HealthchecksJSONRequestBody defines body for PostApiV1Healthchecks for application/json ContentType.
PutApiV1HealthchecksIdJSONRequestBody defines body for PutApiV1HealthchecksId for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.