package
6.1.0
Repository: https://github.com/splitio/go-split-commons.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AddMetadataToHeaders adds metadata in headers.
NewAuthAPIClient instantiates and return an AuthAPIClient.
NewHTTPClient instance of HttpClient.
NewHTTPEventsRecorder instantiates an HTTPEventsRecorder.
NewHTTPImpressionRecorder instantiates an HTTPImpressionRecorder.
NewHTTPLargeSegmentsFetcher.
NewHTTPSegmentFetcher instantiates and returns a new HTTPSegmentFetcher.
NewHTTPSplitFetcher instantiates and return an HTTPSplitFetcher.
NewHTTPTelemetryRecorder instantiates an HTTPTelemetryRecorder.
NewSplitAPI creates new splitAPI.

# Constants

Cache control header constants.
Cache control header constants.
Csv format.
Unknown format.

# Structs

AuthAPIClient struct is responsible for authenticating client for push services.
HTTPClient structure to wrap up the net/http.Client.
HTTPEventsRecorder is a struct responsible for submitting events bulks to the backend.
HTTPImpressionRecorder is a struct responsible for submitting impression bulks to the backend.
No description provided by the author
HTTPSegmentFetcher struct is responsible for fetching segment by name from the API via HTTP method.
HTTPSplitFetcher struct is responsible for fetching splits from the backend via HTTP protocol.
HTTPTelemetryRecorder is a struct responsible for submitting telemetry to the backend.
SplitAPI struct for fetchers and recorders.

# Interfaces

Client interface for HTTPClient.
No description provided by the author