Documentation ¶
Index ¶
- func Contains(s []string, str string) bool
- func ContextToMap(ctx ffcontext.Context) map[string]interface{}
- func ConvertEvaluationCtxFromRequest(targetingKey string, custom map[string]interface{}) ffcontext.Context
- func Hash(s string) uint32
- func IsIntegral(val float64) bool
- func JSONTypeExtractor(variation interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextToMap ¶ added in v1.12.0
ContextToMap convert the context to a MAP to use the query on it.
func ConvertEvaluationCtxFromRequest ¶ added in v1.20.1
func ConvertEvaluationCtxFromRequest(targetingKey string, custom map[string]interface{}) ffcontext.Context
ConvertEvaluationCtxFromRequest convert the result of an unmarshal request from the API to a ffcontext.Context @param targetingKey the targeting key to use for the context @param custom the custom attributes to add to the context @return ffcontext.Context
func IsIntegral ¶ added in v1.20.1
IsIntegral returns true if the float is an integer.
func JSONTypeExtractor ¶ added in v1.5.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.