Files
leanote/vendor/github.com/revel/modules/server-engine/README.md
2017-11-30 19:55:33 +08:00

15 lines
544 B
Markdown

# Server Engines
These are some of the server engines built by the Revel team.
In order to use an engine you must import the module and set
the configuration option `server.engine` equal to the engine you want.
You may define your own engine by implementing `revel.ServerEngine` and
registering it with revel in an `init`
function `revel.RegisterServerEngine(NAME, <function to return your server instance>)`. See
`revel.GoHttpServer` for an example
### app.conf
- **server.engine** Defaults to `go`. Specify the engine you wish to use