Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResponseHandler ¶
func ResponseHandler(c martini.Context, w http.ResponseWriter)
Types ¶
type Request ¶
func NewRequest ¶
type Response ¶
type Response interface {
RenderJson(statusCode int, jsonObject interface{})
}
func NewResponse ¶
func NewResponse(writer http.ResponseWriter) Response
Click to show internal directories.
Click to hide internal directories.