Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiTestTaker ¶
type ApiTestTaker struct { ID int `json:"id"` Name string `json:"name"` Email string `json:"email"` URL string `json:"url"` HireState string `json:"hire_state"` SubmittedInTime bool `json:"submitted_in_time"` IsDemo bool `json:"is_demo"` Percent int `json:"percent"` StartedAt int `json:"started_at"` FinishedAt int `json:"finished_at"` ContactInfo ContactInfo `json:"contact_info"` TestDurationInSeconds int `json:"test_duration_in_seconds"` }
type ApiTestTakerService ¶
type ApiTestTakerService struct {
Email, Password, AuthApiEndpoint, TestTakersApiEndpoint string
}
func (*ApiTestTakerService) GetNewTestTakers ¶
func (testTakerService *ApiTestTakerService) GetNewTestTakers(repository domain.Repository, errorHandler domain.ErrorHandler) (testTakers []domain.TestTaker, err error)
type AuthRequest ¶
type AuthResponse ¶
type ContactInfo ¶
type ContactInfo struct { Phone string `json:"phone"` FullName string `json:"full_name"` Street string `json:"street"` City string `json:"city"` ZipCode string `json:"zip_code"` State string `json:"state"` Country string `json:"country"` Website string `json:"website"` Linkedin string `json:"linkedin"` ContactEmail string `json:"contact_email"` }
type TestTakersRequest ¶
func (*TestTakersRequest) ToMap ¶
func (request *TestTakersRequest) ToMap() map[string]string
type TestTakersResponse ¶
type TestTakersResponse struct { TestTakers []ApiTestTaker `json:"test_takers"` Total int `json:"total"` Error *ApiError `json:"error,omitempty"` }
Click to show internal directories.
Click to hide internal directories.