package
0.0.0-20241214144356-1eb563436569
Repository: https://github.com/abeltay/go-template.git
Documentation: pkg.go.dev
# Functions
Write writes the code as defined in the constants along with its error string.
WriteError outputs the result as Error(1) and body=value.
WriteOk writes a successful reply to the ResponseWriter.
WriteValue outputs the result as Ok(0) and body=value.
WriteValueCode outputs the result as code=code and body=value.
# Constants
Constants representing different code response types.
Constants representing different code response types.
Constants representing different code response types.
Constants representing different code response types.
# Type aliases
ErrorCode is used to indicate server responses.