package http
import "github.com/redhatinsights/yggdrasil/internal/http"
Index ¶
Types ¶
type Client ¶
type Client struct { http.Client // Retries is the number of times the client will attempt to resend failed // HTTP requests before giving up. Retries int // contains filtered or unexported fields }
Client is a specialized HTTP client, configured with mutual TLS certificate authentication.
func NewHTTPClient ¶
NewHTTPClient creates a client with the given TLS configuration and user-agent string.
func (*Client) Do ¶
func (*Client) Get ¶
func (*Client) Post ¶
Source Files ¶
- Version
- v0.4.5 (latest)
- Published
- Feb 3, 2025
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 3 weeks ago –
Tools for package owners.