mock

package
v0.0.0-...-98cd694 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeatureFlagManager

type FeatureFlagManager struct {
	mock.Mock
}

func (*FeatureFlagManager) CanUseFeature

func (m *FeatureFlagManager) CanUseFeature(ctx context.Context, username, feature string) (bool, error)

CanUseFeature satisfies the FeatureFlagManager interface.

func (*FeatureFlagManager) Close

func (m *FeatureFlagManager) Close() error

Close satisfies the FeatureFlagManager interface.

func (*FeatureFlagManager) Identify

func (m *FeatureFlagManager) Identify(ctx context.Context, user *types.User) error

Identify satisfies the FeatureFlagManager interface.

Jump to

Keyboard shortcuts

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