Documentation ¶
Index ¶
- type FlowController
- func (u FlowController) AddComment(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
- func (u FlowController) AddNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
- func (u FlowController) DelNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
- func (u FlowController) GetCommentList(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
- func (u FlowController) GetNoteDetail(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
- func (u FlowController) GetNoteList(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
- func (u FlowController) GetUserNotes(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
- func (u FlowController) LikeNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
- type IFlowController
- type IUserController
- type UserController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlowController ¶
type FlowController struct {
// contains filtered or unexported fields
}
func NewFlowController ¶
func NewFlowController() *FlowController
func (FlowController) AddComment ¶
func (u FlowController) AddComment(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
func (FlowController) AddNote ¶
func (u FlowController) AddNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
func (FlowController) DelNote ¶
func (u FlowController) DelNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
func (FlowController) GetCommentList ¶
func (u FlowController) GetCommentList(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
func (FlowController) GetNoteDetail ¶
func (u FlowController) GetNoteDetail(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
func (FlowController) GetNoteList ¶
func (u FlowController) GetNoteList(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
func (FlowController) GetUserNotes ¶
func (u FlowController) GetUserNotes(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
func (FlowController) LikeNote ¶
func (u FlowController) LikeNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
type IFlowController ¶
type IFlowController interface { AddNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError) GetUserNotes(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError) GetNoteList(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError) GetNoteDetail(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError) DelNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError) LikeNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError) AddComment(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError) GetCommentList(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError) }
type IUserController ¶
type IUserController interface {
Login(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
}
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController() *UserController
func (UserController) Login ¶
func (u UserController) Login(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
Click to show internal directories.
Click to hide internal directories.