ffcontext

package
v1.0.0-dev-2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context = coreCtx.Context

type EvaluationContext

type EvaluationContext = coreCtx.EvaluationContext

func NewAnonymousEvaluationContext deprecated

func NewAnonymousEvaluationContext(key string) EvaluationContext

Deprecated: NewAnonymousEvaluationContext is here for compatibility reason. Please use NewEvaluationContext instead and add a attributes attribute to know that it is an anonymous user.

ctx := NewEvaluationContext("my-targetingKey") ctx.AddCustomAttribute("anonymous", true)

func NewEvaluationContext

func NewEvaluationContext(key string) EvaluationContext

NewEvaluationContext creates a new evaluation context identified by the given targetingKey.

type EvaluationContextBuilder

type EvaluationContextBuilder = coreCtx.EvaluationContextBuilder

func NewEvaluationContextBuilder

func NewEvaluationContextBuilder(key string) EvaluationContextBuilder

NewEvaluationContextBuilder constructs a new EvaluationContextBuilder, specifying the user targetingKey.

For authenticated users, the targetingKey may be a username or e-mail address. For anonymous users, this could be an IP address or session ID.

type GoffContextSpecifics

type GoffContextSpecifics = coreCtx.GoffContextSpecifics

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL