Versions in this module Expand all Collapse all v0 v0.1.3 Oct 8, 2019 v0.1.2 Dec 19, 2018 v0.1.1 Oct 17, 2018 v0.0.8 Apr 6, 2018 v0.0.7 Mar 28, 2018 v0.0.6 Mar 14, 2018 v0.0.5 Mar 9, 2018 v0.0.4 Mar 6, 2018 Changes in this version type Response + func NewFilePairsUploadResponse(success, failures int64) *Response + func NewTokenResponse(token string) *Response v0.0.3 Feb 28, 2018 v0.0.2 Feb 26, 2018 Changes in this version type Response + func NewExperimentsResponse(experiments []*model.Experiment, progresses []float32) *Response v0.0.1 Feb 21, 2018 Changes in this version type Response + func NewVersionResponse(version string) *Response v0.0.0 Feb 15, 2018 Changes in this version + type ExpAnnotationResponse struct + Maybe int + No int + Skip int + Total int + Unanswered int + Yes int + type HTTPError interface + StatusCode func() int + func NewHTTPError(statusCode int, msg ...string) HTTPError + type Response struct + Data interface{} + Errors []HTTPError + Status int + func NewAssignmentsResponse(as []*model.Assignment) *Response + func NewCountResponse(c int) *Response + func NewEmptyResponse() *Response + func NewExpAnnotationsResponse(data ExpAnnotationResponse) *Response + func NewExperimentResponse(e *model.Experiment) *Response + func NewFeaturesResponse(fs []*model.Feature) *Response + func NewFilePairResponse(fp *model.FilePair) *Response + func NewListFilePairsResponse(fps []*model.FilePair) *Response + func NewUserResponse(u *model.User) *Response