Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DisabledVariant = &Variant{ Name: "disabled", Enabled: false, }
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// UserId is the the id of the user.
UserId string
// SessionId is the id of the session.
SessionId string
// RemoteAddress is the IP address of the machine.
RemoteAddress string
// Environment is the environment this application is running in.
Environment string
// AppName is the application name.
AppName string
// Properties is a map of additional properties.
Properties map[string]string
}
Context specifies the context in which a feature toggle should be considered to be enabled or not.
type FeatureFlag ¶
Click to show internal directories.
Click to hide internal directories.