dto

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: Apache-2.0 Imports: 1 Imported by: 4

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 Key

type Key struct {
	Type string
	Name string
}

Key holds information for unique data for cache and store

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

Jump to

Keyboard shortcuts

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