Compatible with the standard library
Add kcd to the standard library
By default Without doing anything KCD will be compatible with the golang http standard library.
However, some features will not works due to the fact that you are using a classic http handler:
Outputting struct
Returning error
Default status code
This may be useful in some cases:
if you have a large codebase and you want to progressively
integrate kcd
if you have a complex code for instance WebSocket, SSE ...
Example:
Last updated