Versions in this module Expand all Collapse all v0 v0.2.0 Aug 10, 2026 Changes in this version + func New() plugin.Plugin + type Config struct + DefaultRollout int + type EvaluationContext struct + Attributes map[string]any + UserID string + type EvaluationDetail struct + MatchedRule *MatchedRule + RolloutHit bool + type EvaluationResult struct + Enabled bool + Evaluation *EvaluationDetail + Key string + func EvaluateFlag(flag *Flag, ctx EvaluationContext) EvaluationResult + type Flag struct + Description string + Enabled bool + ID string + Key string + Name string + RolloutPercentage int + Rules json.RawMessage + TenantID string + type MatchedRule struct + Attribute string + Operator string + Value any + type Plugin struct + func (p *Plugin) Info() plugin.PluginInfo + func (p *Plugin) Init(ctx context.Context, env *plugin.Environment) error + func (p *Plugin) Migrations() []plugin.Migration + func (p *Plugin) RegisterHostFunctions(scope plugin.FuncRegistry) error + func (p *Plugin) RegisterRoutes(mux *http.ServeMux) error + type Rule struct + Attribute string + Operator string + Value any