Versions in this module Expand all Collapse all v1 v1.1.0 Jul 27, 2023 Changes in this version + func NewGetClientRequest(server string) (*http.Request, error) + type Client struct + Name string + type ClientInterface interface + GetClient func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + type ClientOption func(*CustomClientType) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) GetClientWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetClientResponse, error) + type ClientWithResponsesInterface interface + GetClientWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetClientResponse, error) + type CustomClientType struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*CustomClientType, error) + func (c *CustomClientType) GetClient(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + type GetClientResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *Client + func ParseGetClientResponse(rsp *http.Response) (*GetClientResponse, error) + func (r GetClientResponse) Status() string + func (r GetClientResponse) StatusCode() int + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type RequestEditorFn func(ctx context.Context, req *http.Request) error