Documentation ¶ Index ¶ func All(rw http.ResponseWriter, req *http.Request, r render.Render) func Current(rw http.ResponseWriter, req *http.Request, r render.Render) func Get(rw http.ResponseWriter, req *http.Request, r render.Render, ...) type PrizeError type PrizeResponse Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func All ¶ func All(rw http.ResponseWriter, req *http.Request, r render.Render) func Current ¶ func Current(rw http.ResponseWriter, req *http.Request, r render.Render) func Get ¶ func Get(rw http.ResponseWriter, req *http.Request, r render.Render, params martini.Params) Types ¶ type PrizeError ¶ type PrizeError struct { Message string `json:"error"` } type PrizeResponse ¶ type PrizeResponse struct { Prizes []prize.Prize `json:"prizes"` TotalPrizes int `json:"total_prizes"` CurrentPage int `json:"current_page"` TotalResults int `json:"total_results"` } Source Files ¶ View all Source files prizes.go Click to show internal directories. Click to hide internal directories.