package
0.3.9
Repository: https://github.com/flagship-io/decision-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CreateABCampaignMock returns a mocked AB Test campaign.
CreateAllUsersTargetingMock creates a mock targeting all users as byte.
No description provided by the author
CreateModification returns a single modification with key value string as byte array.
CreateTargetingWithProvider creates a mock targeting with an integration provider.
No description provided by the author
GetDecisionRequest transforms http request into a DecisionRequest.
NewTracker Creates a tracker.
No description provided by the author
WriteClientError similarly add a helper for send responses relating to client errors.
WriteJSONOk similarly add a helper to send json responses with status OK.
WriteJSONStringOk similarly add a helper to send json stringified responses with status OK.
WriteNoContent similarly add a helper to send 204 responses .
WritePanicResponse writes a response for panic mode.
WriteServerError returns a 500 Internal Server Error response.

# Constants

No description provided by the author

# Structs

ClientErrorMessage represents a bad request response.
No description provided by the author