Documentation ¶
Index ¶
- func All(rw http.ResponseWriter, req *http.Request, r render.Render)
- func AllSubmissions(rw http.ResponseWriter, req *http.Request, r render.Render)
- func Get(rw http.ResponseWriter, req *http.Request, r render.Render, ...)
- func GetSubmissionsBySurvey(rw http.ResponseWriter, req *http.Request, params martini.Params, ...)
- func Submit(rw http.ResponseWriter, req *http.Request)
- type SubmissionResponse
- type SurveyError
- type SurveyResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllSubmissions ¶
func GetSubmissionsBySurvey ¶
Types ¶
type SubmissionResponse ¶
type SubmissionResponse struct { Submissions []survey.SurveySubmission `json:"submissions"` TotalSubmissions int `json:"total_submissions"` CurrentPage int `json:"current_page"` TotalResults int `json:"total_results"` }
type SurveyError ¶
type SurveyError struct {
Message string `json:"error"`
}
Click to show internal directories.
Click to hide internal directories.