Documentation
¶
Index ¶
- func ConfigFlags(cmd *cobra.Command, prefix string) error
- type Config
- type Session
- func (s *Session) EndStep(project *ent.Project, run *ent.Run, step *ent.Step, stepRun *ent.StepRun, ...) error
- func (s *Session) GetLocales() ([]*model.MTurkLocale, error)
- func (s *Session) GetQuals() ([]*model.MTurkQulificationType, error)
- func (s *Session) StartStep(project *ent.Project, run *ent.Run, step *ent.Step, stepRun *ent.StepRun, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Session ¶
Session keep the mTurk session state.
func (*Session) EndStep ¶
func (s *Session) EndStep(project *ent.Project, run *ent.Run, step *ent.Step, stepRun *ent.StepRun, nextStep *ent.Step, nextStepRun *ent.StepRun) error
EndStep to end step based on stepType
func (*Session) GetLocales ¶
func (s *Session) GetLocales() ([]*model.MTurkLocale, error)
GetLocales will get JSON Locales
Click to show internal directories.
Click to hide internal directories.