feature

package
v0.0.0-...-57a5977 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2017 License: MIT Imports: 2 Imported by: 0

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

func NewFeature(name string) Feature

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.

Jump to

Keyboard shortcuts

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