Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alternative ¶
type Experiment ¶
type Experiment struct { Name string `json:"name"` Alternatives []Alternative `json:"alternatives"` // contains filtered or unexported fields }
func NewExperiment ¶
func NewExperiment(name string, groups map[string]string, alternatives ...Alternative) *Experiment
func (*Experiment) GetAlternative ¶
func (exp *Experiment) GetAlternative(uid string) string
func (*Experiment) SetupGroups ¶
func (exp *Experiment) SetupGroups(groups map[string][]string) error
func (*Experiment) SetupRing ¶
func (exp *Experiment) SetupRing()
Click to show internal directories.
Click to hide internal directories.