feature

package
v1.182.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 10 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

Module for fx.

Functions

func IsEnabled added in v1.178.1

func IsEnabled(cfg *Config) bool

IsEnabled for feature.

func NewClient

func NewClient(params ClientParams) *openfeature.Client

NewClient for feature.

Types

type ClientParams added in v1.134.0

type ClientParams struct {
	fx.In

	Config *Config
	Logger *zap.Logger
	Tracer trace.Tracer
	Meter  metric.Meter
}

RegisterParams for feature.

type Config

type Config struct {
	*client.Config `yaml:",inline" json:",inline" toml:",inline"`
	Kind           string `yaml:"kind,omitempty" json:"kind,omitempty" toml:"kind,omitempty"`
}

Config for feature.

func (*Config) IsFlipt added in v1.178.1

func (c *Config) IsFlipt() bool

IsFlipt configuration.

Jump to

Keyboard shortcuts

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