# Functions
AcceptHeader allows for a custom Aceept header.
APIBaseURL allows for a custom API v3 base URL.
APIKey sets the API key for authentication.
ClientTimeout sets the client max timeout.
ContentTypeHeader allows for a custom Content-Type header.
CustomHTTPHeaders allows for additional HTTPHeaders.
New constructs a new Client.
UserAgent allows for a custom User Agent.
# Constants
DefaultAcceptHeader is the default and Content-Type header.
DefaultAPIBaseURL is the base API url.
5 min.
DefaultContentTypeHeader is the default and Content-Type header.
DefaultUserAgent is the user agent used when making API calls.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Structs
Attribute represents an attribute in Split.
AttributeListQueryParams represents all query parameters available when listing attributes.
AttributeRequest represents a request to create an attribute.
Bucket represents a sticky distribution of customers into treatments of a Split.
Client manages communication with Sendgrid APIs.
Condition consists of different Matchers.
Config represents all configuration options available to user to customize the API v2.
Environment reflects a stage in the development process, such as your production application or your internal staging environment.
EnvironmentRequest represents a request modify an environment.
EnvironmentSegment represents a segment in an environment.
EnvironmentSegmentKeysRequest represents a request to add/remove segment keys in an environment.
GenericListQueryParams are parameters for any resource.
GenericListResult is the generic list result.
Group represents a group in Split.
GroupListOpts.
GroupListResult.
GroupRequest.
No description provided by the author
KeyRequest represents a request to create an API key.
KeyResponse represents the created key.
No description provided by the author
Matcher represents the logic for selecting a specific subset of your customer population.
Rule consists of a Condition and a list of Buckets.
Segment represents a Split segment.
SegmentKey.
SegmentKeysList.
SegmentListResult represents the response returned when listing all segments.
SegmentRequest represents a request to create a segment.
Split is a feature flag, toggle, or experiment.
SplitCreateRequest represents a request to create a split.
SplitDefinition is the configuration of a Split in a specific environment such as production or staging.
SplitDefinitionRequest creates or updates a split definition.
SplitDefinitions represents all definitions in an environment.
SplitRolloutStatus represents the rollout status.
Splits represents all splits.
SplitTag represents a tag in the split.
SplitUpdateRequest represents a request to update a split.
No description provided by the author
No description provided by the author
No description provided by the author
Treatment is a state of a Split.
User represents a user.
UserCreateRequest is to create a new user.
UserListOpts represents all query parameters when fetching all Users.
UserListResult.
UserUpdateRequest updates an existing user.
Workspace represents a workspace.
WorkspaceListQueryParams represents query parameters when retrieving all workspaces.
WorkspaceRequest represents a request to create/update a workspace.
Workspaces represents all workspaces.
# Type aliases
AttributesService handles communication with the attributes related methods of the Split.io APIv2.
EnvironmentsService handles communication with the environments related methods of the Split.io APIv2.
GroupsService handles communication with the group related methods of the Split.io APIv2.
KeysService handles communication with the api keys related methods of the Split.io APIv2.
Option is a functional option for configuring the API client.
SegmentsService handles communication with the segment related methods of the Split.io APIv2.
SplitsService handles communication with the segment related methods of the Split.io APIv2.
TrafficTypesService handles communication with the traffic types related methods of the Split.io APIv2.
UsersService handles communication with the user related methods of the Split.io APIv2.
WorkspacesService handles communication with the workspace related methods of the Split.io APIv2.