Commit 10046780 authored by eyalpost's avatar eyalpost

popular status codes

parent 0ac2e471
......@@ -3,9 +3,16 @@ package response
import (
"strconv"
"net/http"
beecontext "github.com/astaxie/beego/context"
)
const (
NotFound StatusCode = http.StatusNotFound
BadRequest StatusCode = http.StatusBadRequest
)
// Renderer defines an http response renderer
type Renderer interface {
Render(ctx *beecontext.Context)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment