Documentation
¶
Index ¶
Constants ¶
View Source
const ( // KeyFeatures ... KeyFeatures = "flags" // KeyFeature identifies flag messages from ff server or stream KeyFeature = "flag" // KeySegment identifies segment messages from ff server or stream KeySegment = "target-segment" // KeySegment identifies segment messages from ff server or stream KeySegments = "target-segments" // SsePatchEvent identifies a patch event from the SSE stream SsePatchEvent = "patch" // SseDeleteEvent identifies a delete event from the SSE stream SseDeleteEvent = "delete" // SseCreateEvent identifies a create event from the SSE stream SseCreateEvent = "create" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TargetBuilderInterface ¶
type TargetBuilderInterface interface { IP(string) TargetBuilderInterface Country(string) TargetBuilderInterface Email(string) TargetBuilderInterface Firstname(string) TargetBuilderInterface Lastname(string) TargetBuilderInterface Name(string) TargetBuilderInterface Anonymous(bool) TargetBuilderInterface Custom(name string, value interface{}) TargetBuilderInterface Build() evaluation.Target }
TargetBuilderInterface used for fluent builder methods
func NewTargetBuilder ¶
func NewTargetBuilder(identifier string) TargetBuilderInterface
NewTargetBuilder constructing TargetBuilder instance
Click to show internal directories.
Click to hide internal directories.