Versions in this module Expand all Collapse all v0 v0.1.3 Feb 9, 2025 Changes in this version + type AfterErrorContext struct + type AfterSuccessContext struct + type BeforeRequestContext struct + type CloudinaryHook struct + func (h *CloudinaryHook) BeforeRequest(ctx BeforeRequestContext, req *http.Request) (*http.Request, error) + func (h *CloudinaryHook) SDKInit(baseURL string, client HTTPClient) (string, HTTPClient) + type FailEarly struct + Cause error + func (f *FailEarly) Error() string + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + type HookContext struct + Context context.Context + OAuth2Scopes []string + OperationID string + SecuritySource func(context.Context) (interface{}, error) + type Hooks struct + func New() *Hooks + func (h *Hooks) AfterError(hookCtx AfterErrorContext, res *http.Response, err error) (*http.Response, error) + func (h *Hooks) AfterSuccess(hookCtx AfterSuccessContext, res *http.Response) (*http.Response, error) + func (h *Hooks) BeforeRequest(hookCtx BeforeRequestContext, req *http.Request) (*http.Request, error) + func (h *Hooks) SDKInit(baseURL string, client HTTPClient) (string, HTTPClient)