Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawVarResult ¶ added in v0.22.2
type RawVarResult struct { TrackEvents bool `json:"trackEvents"` VariationType string `json:"variationType"` Failed bool `json:"failed"` Version string `json:"version"` Reason flag.ResolutionReason `json:"reason"` ErrorCode flag.ErrorCode `json:"errorCode"` Value interface{} `json:"value"` Cacheable bool `json:"cacheable"` }
RawVarResult is the result of the raw variation call. This is used by ffclient.RawVariation functions, this should be used only by internal calls.
type VariationResult ¶ added in v0.17.0
type VariationResult[T JSONType] struct { TrackEvents bool `json:"trackEvents"` VariationType string `json:"variationType"` Failed bool `json:"failed"` Version string `json:"version"` Reason flag.ResolutionReason `json:"reason"` ErrorCode flag.ErrorCode `json:"errorCode"` Value T `json:"value"` Cacheable bool `json:"cacheable"` }
VariationResult contains all the field available in a flag variation result.
Click to show internal directories.
Click to hide internal directories.