macaron.Classic
provides some reasonable defaults that work well for most of web applications:macaron.Macaron
can be seen as an instance of Macaron, you can have as many instances as you'd like in a single piece of code.http.ResponseWriter
as a string:string
and []byte
types):http.HandlerFunc
interface.Handlers
function. This will replace any handlers that have been previously set:macaron.Env
global variable to provide special functionality for development environments vs production environments. It is recommended that the MACARON_ENV=production
environment variable to be set when deploying a Macaron server into a production environment.