Documentation
¶
Index ¶
- func HandleCreate(context router.Context) error
- func HandleCreateShow(context router.Context) error
- func HandleDestroy(context router.Context) error
- func HandleDownvote(context router.Context) error
- func HandleFlag(context router.Context) error
- func HandleIndex(context router.Context) error
- func HandleShow(context router.Context) error
- func HandleUpdate(context router.Context) error
- func HandleUpdateShow(context router.Context) error
- func HandleUpvote(context router.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleCreate ¶
HandleCreate handles the POST of the create form for comments
func HandleCreateShow ¶
HandleCreateShow serves the create form via GET for comments
func HandleDestroy ¶
HandleDestroy handles a DESTROY request for comments
func HandleDownvote ¶
HandleDownvote handles POST to /comments/123/downvote
func HandleFlag ¶
HandleFlag handles POST to /comments/123/flag
func HandleIndex ¶
HandleIndex displays a list of comments
func HandleShow ¶
HandleShow displays a single comment
func HandleUpdate ¶
HandleUpdate responds to POST /comments/update
func HandleUpdateShow ¶
HandleUpdateShow responds to GET /comments/update with the form to update a comment
func HandleUpvote ¶
HandleUpvote handles POST to /comments/123/upvote
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.