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

# Functions

AuthenticateMiddleware authenticates the request by query upstream TiDB.
CheckServerReadyMiddleware checks if the server is ready.
ErrorHandleMiddleware puts the error into response.
ForwardToOwnerMiddleware forward a request to controller if current server is not controller, or handle it locally.
LogMiddleware logs the api requests.

# Constants

ClientVersionHeader is the header name of client version.