View definition

(*Context).Abort

Defined in github.com/hoisie/web/web.go

Description

Abort is a helper method that sends an HTTP header and an optional body. It is useful for returning 4xx or 5xx errors. Once it has been called, any return value from the handler will not be written to the response.

Abort is referenced in 21 repositories

github.com/hoisie/web github.com/mattn/go-isucon2 github.com/Lavos/archive

...