Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feature ¶
type Feature struct {
Name string
}
Feature represents a feature check.
func NewFeature ¶
NewFeature initializes a feature by its name.
type FeaturedActor ¶
type FeaturedActor struct {
// contains filtered or unexported fields
}
FeaturedActor is an specialized actor that appends the feature name as a prefix to the actor's FlipperID.
func NewFeaturedActor ¶
func NewFeaturedActor(f Feature, a actor.Actor) FeaturedActor
NewFeaturedActor initializes a FeaturedActor with a feature and an actor.
func (FeaturedActor) FlipperID ¶
func (f FeaturedActor) FlipperID() string
FlipperID returns the compound id for a FeaturedActor.
Click to show internal directories.
Click to hide internal directories.