package
0.0.0-20240830210906-6353a5ff0f2e
Repository: https://github.com/joyrex2001/kubedock.git
Documentation: pkg.go.dev
# Functions
CloseStreams ensures that a list for http streams are properly closed.
Error will return an error response in json.
HijackConnection interrupts the http response writer to get the underlying connection and operate with it.
NoContent will return a no content response.
NotImplemented will return a not implented response.
RequestLoggerMiddleware is a gin-gonic middleware that will log the raw request.
ResponseLoggerMiddleware is a gin-gonic middleware that will the raw response.
UpgradeConnection will upgrade the Hijacked connection.
VersionAliasMiddleware is a gin-gonic middleware that will remove /v1.xx and /v4.x.y from the url path (ignoring versioned apis).