Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 // CurrentTime is used for date constraints. Defaults to time.Now if not set. CurrentTime 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.
Click to show internal directories.
Click to hide internal directories.