Skip to content

Handler

Robert Zaremba edited this page Mar 6, 2013 · 1 revision

Handlers ########

Handlers are structures implemented after Tornado design

Helper functions

Most of the useful functions are already defined in standard library:

But we implemented also some shortcuts, to handle most common operations in a fancy way:

Redirect(status int, url string)

Redirects to specified url setting HTTP status code

RedirectUrl(url string)

Redirects to specified url setting HTTP 302 (StatusFound) status code

Clone this wiki locally