Documentation ¶
Index ¶
- func AboutThisApp(c *web.AppContext)
- func AddAnswerToFormGallery(c *web.AppContext)
- func AddFlagToFormSubmission(c *web.AppContext)
- func AppHandler() negroni.Handler
- func CORS() *cors.Cors
- func CreateFormSubmission(c *web.AppContext)
- func CreateIndex(c *web.AppContext)
- func CreateUpdateAsset(c *web.AppContext)
- func CreateUpdateAuthor(c *web.AppContext)
- func CreateUpdateComment(c *web.AppContext)
- func CreateUpdateForm(c *web.AppContext)
- func CreateUpdateSearch(c *web.AppContext)
- func CreateUpdateSection(c *web.AppContext)
- func CreateUpdateTag(c *web.AppContext)
- func CreateUpdateUser(c *web.AppContext)
- func CreateUserAction(c *web.AppContext)
- func DeleteForm(c *web.AppContext)
- func DeleteFormSubmission(c *web.AppContext)
- func DeleteSearch(c *web.AppContext)
- func DeleteTag(c *web.AppContext)
- func EditFormSubmissionAnswer(c *web.AppContext)
- func GetAppContext(r *http.Request, input interface{}) *web.AppContext
- func GetForm(c *web.AppContext)
- func GetFormGalleriesByForm(c *web.AppContext)
- func GetFormGallery(c *web.AppContext)
- func GetFormSubmission(c *web.AppContext)
- func GetFormSubmissionsByForm(c *web.AppContext)
- func GetForms(c *web.AppContext)
- func GetSearch(c *web.AppContext)
- func GetSearches(c *web.AppContext)
- func GetTags(c *web.AppContext)
- func ImportAction(c *web.AppContext)
- func ImportAsset(c *web.AppContext)
- func ImportComment(c *web.AppContext)
- func ImportNote(c *web.AppContext)
- func ImportUser(c *web.AppContext)
- func Login(w http.ResponseWriter, r *http.Request)
- func Logout(w http.ResponseWriter, r *http.Request)
- func RemoveAnswerFromFormGallery(c *web.AppContext)
- func RemoveFlagFromFormSubmission(c *web.AppContext)
- func SearchFormSubmissions(c *web.AppContext)
- func SetAppContext(r *http.Request, val *web.AppContext)
- func UpdateFormGallery(c *web.AppContext)
- func UpdateFormStatus(c *web.AppContext)
- func UpdateFormSubmissionStatus(c *web.AppContext)
- func UpdateMetadata(c *web.AppContext)
- type About
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAnswerToFormGallery ¶ added in v0.3.4
func AddAnswerToFormGallery(c *web.AppContext)
func AddFlagToFormSubmission ¶ added in v0.3.4
func AddFlagToFormSubmission(c *web.AppContext)
func AppHandler ¶ added in v0.3.4
AppHandler is a handler to inject gorilla context to the request.
func CreateFormSubmission ¶ added in v0.3.4
func CreateFormSubmission(c *web.AppContext)
func CreateIndex ¶
func CreateIndex(c *web.AppContext)
CreateIndex end-point allows creation of new database index.
func CreateUpdateAsset ¶
func CreateUpdateAsset(c *web.AppContext)
CreateUpdateAsset end-point allows creation or updation of Asset.
func CreateUpdateAuthor ¶ added in v0.3.4
func CreateUpdateAuthor(c *web.AppContext)
CreateUpdateAuthor end-point allows creation or updation of Author.
func CreateUpdateComment ¶
func CreateUpdateComment(c *web.AppContext)
CreateUpdateComment end-point allows creation or updation of Comment.
func CreateUpdateForm ¶ added in v0.3.4
func CreateUpdateForm(c *web.AppContext)
func CreateUpdateSearch ¶ added in v0.3.4
func CreateUpdateSearch(c *web.AppContext)
CreateUpdateSearch end-point allows creation or updation of Search.
func CreateUpdateSection ¶ added in v0.3.4
func CreateUpdateSection(c *web.AppContext)
CreateUpdateSection end-point allows creation or updation of Section.
func CreateUpdateTag ¶
func CreateUpdateTag(c *web.AppContext)
CreateUpdateTag end-point allows creation or updation of Tag.
func CreateUpdateUser ¶
func CreateUpdateUser(c *web.AppContext)
CreateUpdateUser end-point allows creation or updation of User.
func CreateUserAction ¶ added in v0.3.4
func CreateUserAction(c *web.AppContext)
CreateUserAction end-point allows registration of all events from front-end.
func DeleteForm ¶ added in v0.3.4
func DeleteForm(c *web.AppContext)
func DeleteFormSubmission ¶ added in v0.3.4
func DeleteFormSubmission(c *web.AppContext)
func DeleteSearch ¶ added in v0.3.4
func DeleteSearch(c *web.AppContext)
DeleteSearch end-point allows deletion of Search.
func EditFormSubmissionAnswer ¶ added in v0.3.4
func EditFormSubmissionAnswer(c *web.AppContext)
func GetAppContext ¶ added in v0.3.4
func GetAppContext(r *http.Request, input interface{}) *web.AppContext
GetAppContext returns an AppContext from the global gorilla context.
func GetForm ¶ added in v0.3.4
func GetForm(c *web.AppContext)
func GetFormGalleriesByForm ¶ added in v0.3.4
func GetFormGalleriesByForm(c *web.AppContext)
func GetFormGallery ¶ added in v0.3.4
func GetFormGallery(c *web.AppContext)
func GetFormSubmission ¶ added in v0.3.4
func GetFormSubmission(c *web.AppContext)
func GetFormSubmissionsByForm ¶ added in v0.3.4
func GetFormSubmissionsByForm(c *web.AppContext)
func GetForms ¶ added in v0.3.4
func GetForms(c *web.AppContext)
func GetSearch ¶ added in v0.3.4
func GetSearch(c *web.AppContext)
GetSearch end-point returns a single Search.
func GetSearches ¶ added in v0.3.4
func GetSearches(c *web.AppContext)
GetSearches end-point returns all available Searches in the system.
func GetTags ¶
func GetTags(c *web.AppContext)
GetTags end-point returns all available tags in the system.
func ImportAction ¶
func ImportAction(c *web.AppContext)
ImportAction imports actions into the system
func ImportAsset ¶
func ImportAsset(c *web.AppContext)
ImportAsset imports a new asset to the system
func ImportComment ¶
func ImportComment(c *web.AppContext)
ImportComment imports a new comment to the system
func Logout ¶
func Logout(w http.ResponseWriter, r *http.Request)
Logout logs the user out of the system
func RemoveAnswerFromFormGallery ¶ added in v0.3.4
func RemoveAnswerFromFormGallery(c *web.AppContext)
func RemoveFlagFromFormSubmission ¶ added in v0.3.4
func RemoveFlagFromFormSubmission(c *web.AppContext)
func SearchFormSubmissions ¶ added in v0.3.4
func SearchFormSubmissions(c *web.AppContext)
func SetAppContext ¶ added in v0.3.4
func SetAppContext(r *http.Request, val *web.AppContext)
SetAppContext sets an AppContext to the global gorilla context.
func UpdateFormGallery ¶ added in v0.3.4
func UpdateFormGallery(c *web.AppContext)
func UpdateFormStatus ¶ added in v0.3.4
func UpdateFormStatus(c *web.AppContext)
func UpdateFormSubmissionStatus ¶ added in v0.3.4
func UpdateFormSubmissionStatus(c *web.AppContext)
func UpdateMetadata ¶ added in v0.3.4
func UpdateMetadata(c *web.AppContext)
UpdateMetadata end-point allows updation of Metadata within an entity.