package
0.0.0-20240619025429-39f3c58cbb48
Repository: https://github.com/camelhr/camelhr-api.git
Documentation: pkg.go.dev
# Functions
Empty writes an empty response with the given status code.
ErrorResponse writes an error response for the given error.
JSON writes a JSON response with the given status code and value.
OK writes an empty response with status code 200.
Redirect redirects the request to the given url with status code 302.
RemoveCookie removes a cookie from the response.
SetCookie sets a cookie in the response.
Text writes a text response with the given status code and value.