Documentation
¶
Index ¶
- type AuthenticationRequest
- type AuthenticationResponse
- type Campaign
- type CampaignSwitchRequest
- type Flag
- type FlagUsage
- type Goal
- type InnerTargeting
- type Modification
- type MultiFlagRequest
- type MultiFlagResponse
- type PanicRequest
- type Project
- type ProjectSwitchRequest
- type Scheduler
- type Targeting
- type TargetingGroup
- type TargetingKey
- type Token
- type User
- type Variation
- type VariationGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationRequest ¶
type AuthenticationResponse ¶
type Campaign ¶
type Campaign struct { Id string `json:"id,omitempty"` ProjectId string `json:"project_id"` Name string `json:"name"` Description string `json:"description"` Type string `json:"type"` Status string `json:"status"` VariationGroups *[]VariationGroup `json:"variation_groups"` Scheduler Scheduler `json:"scheduler"` }
type CampaignSwitchRequest ¶ added in v0.7.0
type CampaignSwitchRequest struct {
State string `json:"state"`
}
type InnerTargeting ¶
type Modification ¶
type Modification struct { Type string `json:"type"` Value interface{} `json:"value"` }
type MultiFlagRequest ¶ added in v0.6.1
type MultiFlagRequest struct {
Flags []Flag `json:"flags"`
}
type MultiFlagResponse ¶ added in v0.6.1
type MultiFlagResponse struct {
CreatedIds []string `json:"created_ids"`
}
type PanicRequest ¶
type PanicRequest struct {
Panic string `json:"panic"`
}
type ProjectSwitchRequest ¶ added in v0.7.0
type ProjectSwitchRequest struct {
State string `json:"state"`
}
type Targeting ¶
type Targeting struct {
TargetingGroups []TargetingGroup `json:"targeting_groups"`
}
type TargetingGroup ¶
type TargetingGroup struct {
Targetings []InnerTargeting `json:"targetings"`
}
type TargetingKey ¶
Click to show internal directories.
Click to hide internal directories.