controllers

package
v0.0.0-...-195f83a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommentController

type CommentController struct {
	beego.Controller
	TopicId   string
	CommentId int64
}

func (*CommentController) Delete

func (c *CommentController) Delete()

func (*CommentController) Get

func (c *CommentController) Get()

func (*CommentController) Prepare

func (c *CommentController) Prepare()

type CommentCreated

type CommentCreated struct {
	CommentId int64 `json:"comment_id"`
}

type CommentEntity

type CommentEntity struct {
	Content string `form:"content",valid:"Required;Range(1,140)"`
}

type CommentsController

type CommentsController struct {
	beego.Controller
	TopicId string
}

func (*CommentsController) Get

func (c *CommentsController) Get()

func (*CommentsController) Post

func (c *CommentsController) Post()

func (*CommentsController) Prepare

func (c *CommentsController) Prepare()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL