package
8.2.0+incompatible
Repository: https://github.com/pingcap/tiflow.git
Documentation: pkg.go.dev

# Functions

NewHTTPError creates a new HTTPError.
SwaggerAPIv1 serves the apiv1 swagger json file.
SwaggerUI renders the swagger ui.
WriteHTTPError writes error to http response with normalized error format.

# Constants

JobAPIPrefix is the prefix of the job API.
JobDetailAPIFormat is the path format for job detail status the entire path is: /api/v1/jobs/${jobID}/status.

# Structs

HTTPError is the error format for http response.