flagging

package module
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

README

Flagging

Helpers to improve the Unleash Go SDK.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context, opt Options)

func Context

func Context(parent context.Context) (ctx flagctx.Context)

func Initialize

func Initialize(options ...unleash.ConfigOption) (err error)

Initialize will specify the options to be used by the default client.

func IsEnabled

func IsEnabled(feature string, options ...unleash.FeatureOption) bool

IsEnabled queries the default client whether the specified feature is enabled or not.

Types

type Options

type Options struct {
	Token string
	Name  string
	URL   string
	Env   string
}

Jump to

Keyboard shortcuts

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