package
0.1.3
Repository: https://github.com/src-d/code-annotation.git
Documentation: pkg.go.dev

# Functions

NewAssignmentsResponse returns a Response for the passed Assignment.
NewCountResponse returns a Response for the total of a count.
NewEmptyResponse returns an empty Response.
NewExpAnnotationsResponse returns a Response for the Experiment Annotation results.
NewExperimentResponse returns a Response for the passed Experiment.
NewExperimentsResponse returns a Response with a list of Experiments.
NewFeaturesResponse returns a Response for the passed Features and score.
NewFilePairResponse returns a Response for the given FilePair.
NewFilePairsUploadResponse returns a Response with results of upload.
NewHTTPError returns an Error.
NewListFilePairsResponse returns a Response for the given FilePairs.
NewTokenResponse returns a Response with a token.
NewUserResponse returns a Response for the passed User.
NewVersionResponse returns a Response with current version of the server.

# Structs

ExpAnnotationResponse stores the data needed by NewExpAnnotationsResponse.
Response encapsulate the content of an http.Response.

# Interfaces

HTTPError defines an Error message as it will be written in the http.Response.