Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client interface for making HTTP requests
func NewClientWithConfig ¶ added in v1.0.27
func NewClientWithConfig(config ClientConfig) Client
NewClientWithConfig creates a new DefaultClient with custom configuration
type ClientConfig ¶
ClientConfig holds configuration for the HTTP client
type DefaultClient ¶
type DefaultClient struct {
// contains filtered or unexported fields
}
DefaultClient implements the Client interface
type Error ¶
type Error struct {
*ierr.InternalError
StatusCode int
Response []byte
}
Error represents an HTTP client error
func IsHTTPError ¶
IsHTTPError checks if an error is an HTTP client error
Click to show internal directories.
Click to hide internal directories.