package
0.0.0-20230322143705-a49da23e37d6
Repository: https://github.com/stackvista/stackstate-receiver-go-client.git
Documentation: pkg.go.dev

# Functions

NewGzipContentEncoding creates a new Gzip content type.
NewHTTPClient returns a RetryableHTTPClient containing a http.Client configured with the Agent options.
NewStackStateClient returns a RetryableHTTPClient containing a http.Client configured with the Agent options.

# Constants

DefaultRetryMax is the default maximum retry time.
DefaultRetryMin is the default minimum retry time.
GET is used for HTTP GET calls.
POST
POST is used for HTTP POST calls.
PUT is used for HTTP PUT calls.

# Variables

IdentityContentType encodes the payload using the identity function.

# Structs

ClientHost specifies an host that the client communicates with.
GzipContentEncoding encodes the payload using gzip algorithm.
HTTPResponse is used to represent the response from the request.
StackStateClient creates a wrapper around the RetryableHTTPClient that is used for communication with StackState over http(s).

# Interfaces

ContentEncoding encodes the payload.
RetryableHTTPClient describes the functionality of a http client with retries and backoff.