Documentation
¶
Index ¶
- type HTTPClient
- func (c *HTTPClient) CheckServer(ctx context.Context) error
- func (c *HTTPClient) MakeRequest(ctx context.Context, method, endpoint string, headers map[string]string, ...) (int, []byte, http.Header, error)
- func (c *HTTPClient) MakeRequestWithFile(ctx context.Context, method, endpoint string, headers map[string]string, ...) (int, []byte, http.Header, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
type HTTPClient struct {
// contains filtered or unexported fields
}
HTTPClient wraps http.Client with custom configuration
func (*HTTPClient) CheckServer ¶
func (c *HTTPClient) CheckServer(ctx context.Context) error
CheckServer verifies the server is reachable
Click to show internal directories.
Click to hide internal directories.